Interface CreateTrustAnchorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTrustAnchorRequest.Builder,,CreateTrustAnchorRequest> RolesAnywhereRequest.Builder,SdkBuilder<CreateTrustAnchorRequest.Builder,,CreateTrustAnchorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTrustAnchorRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether the trust anchor is enabled.The name of the trust anchor.notificationSettings(Collection<NotificationSetting> notificationSettings) A list of notification settings to be associated to the trust anchor.notificationSettings(Consumer<NotificationSetting.Builder>... notificationSettings) A list of notification settings to be associated to the trust anchor.notificationSettings(NotificationSetting... notificationSettings) A list of notification settings to be associated to the trust anchor.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateTrustAnchorRequest.Buildersource(Consumer<Source.Builder> source) The trust anchor type and its related certificate data.The trust anchor type and its related certificate data.tags(Collection<Tag> tags) The tags to attach to the trust anchor.tags(Consumer<Tag.Builder>... tags) The tags to attach to the trust anchor.The tags to attach to the trust anchor.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enabled
Specifies whether the trust anchor is enabled.
- Parameters:
enabled- Specifies whether the trust anchor is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the trust anchor.
- Parameters:
name- The name of the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSettings
CreateTrustAnchorRequest.Builder notificationSettings(Collection<NotificationSetting> notificationSettings) A list of notification settings to be associated to the trust anchor.
- Parameters:
notificationSettings- A list of notification settings to be associated to the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSettings
A list of notification settings to be associated to the trust anchor.
- Parameters:
notificationSettings- A list of notification settings to be associated to the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSettings
CreateTrustAnchorRequest.Builder notificationSettings(Consumer<NotificationSetting.Builder>... notificationSettings) A list of notification settings to be associated to the trust anchor.
This is a convenience method that creates an instance of theNotificationSetting.Builderavoiding the need to create one manually viaNotificationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationSettings(List<NotificationSetting>).- Parameters:
notificationSettings- a consumer that will call methods onNotificationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The trust anchor type and its related certificate data.
- Parameters:
source- The trust anchor type and its related certificate data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The trust anchor type and its related certificate data.
This is a convenience method that creates an instance of theSource.Builderavoiding the need to create one manually viaSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(Source).- Parameters:
source- a consumer that will call methods onSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to attach to the trust anchor.
- Parameters:
tags- The tags to attach to the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the trust anchor.
- Parameters:
tags- The tags to attach to the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the trust anchor.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateTrustAnchorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateTrustAnchorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-