Interface DescribeCrossAccountAccessRoleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCrossAccountAccessRoleResponse.Builder,DescribeCrossAccountAccessRoleResponse>,InspectorResponse.Builder,SdkBuilder<DescribeCrossAccountAccessRoleResponse.Builder,DescribeCrossAccountAccessRoleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeCrossAccountAccessRoleResponse
public static interface DescribeCrossAccountAccessRoleResponse.Builder extends InspectorResponse.Builder, SdkPojo, CopyableBuilder<DescribeCrossAccountAccessRoleResponse.Builder,DescribeCrossAccountAccessRoleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeCrossAccountAccessRoleResponse.BuilderregisteredAt(Instant registeredAt)The date when the cross-account access role was registered.DescribeCrossAccountAccessRoleResponse.BuilderroleArn(String roleArn)The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.DescribeCrossAccountAccessRoleResponse.Buildervalid(Boolean valid)A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
roleArn
DescribeCrossAccountAccessRoleResponse.Builder roleArn(String roleArn)
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
- Parameters:
roleArn- The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valid
DescribeCrossAccountAccessRoleResponse.Builder valid(Boolean valid)
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
- Parameters:
valid- A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registeredAt
DescribeCrossAccountAccessRoleResponse.Builder registeredAt(Instant registeredAt)
The date when the cross-account access role was registered.
- Parameters:
registeredAt- The date when the cross-account access role was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-