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
Modifier and TypeMethodDescriptionregisteredAt
(Instant registeredAt) The date when the cross-account access role was registered.The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.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 Details
-
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
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
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.
-