Interface RoleConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoleConfiguration.Builder,
,RoleConfiguration> SdkBuilder<RoleConfiguration.Builder,
,RoleConfiguration> SdkPojo
- Enclosing class:
RoleConfiguration
@Mutable
@NotThreadSafe
public static interface RoleConfiguration.Builder
extends SdkPojo, CopyableBuilder<RoleConfiguration.Builder,RoleConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionsourceRoleArn
(String sourceRoleArn) The Amazon Resource Name (ARN) of the role used in the source account to enable cross-account scraping.targetRoleArn
(String targetRoleArn) The Amazon Resource Name (ARN) of the role used in the target account to enable cross-account scraping.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceRoleArn
The Amazon Resource Name (ARN) of the role used in the source account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup.
- Parameters:
sourceRoleArn
- The Amazon Resource Name (ARN) of the role used in the source account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRoleArn
The Amazon Resource Name (ARN) of the role used in the target account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup.
- Parameters:
targetRoleArn
- The Amazon Resource Name (ARN) of the role used in the target account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-