Interface CreateTrustAnchorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTrustAnchorRequest.Builder,CreateTrustAnchorRequest>,RolesAnywhereRequest.Builder,SdkBuilder<CreateTrustAnchorRequest.Builder,CreateTrustAnchorRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateTrustAnchorRequest
public static interface CreateTrustAnchorRequest.Builder extends RolesAnywhereRequest.Builder, SdkPojo, CopyableBuilder<CreateTrustAnchorRequest.Builder,CreateTrustAnchorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTrustAnchorRequest.Builderenabled(Boolean enabled)Specifies whether the trust anchor is enabled.CreateTrustAnchorRequest.Buildername(String name)The name of the trust anchor.CreateTrustAnchorRequest.BuildernotificationSettings(Collection<NotificationSetting> notificationSettings)A list of notification settings to be associated to the trust anchor.CreateTrustAnchorRequest.BuildernotificationSettings(Consumer<NotificationSetting.Builder>... notificationSettings)A list of notification settings to be associated to the trust anchor.CreateTrustAnchorRequest.BuildernotificationSettings(NotificationSetting... notificationSettings)A list of notification settings to be associated to the trust anchor.CreateTrustAnchorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTrustAnchorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateTrustAnchorRequest.Buildersource(Consumer<Source.Builder> source)The trust anchor type and its related certificate data.CreateTrustAnchorRequest.Buildersource(Source source)The trust anchor type and its related certificate data.CreateTrustAnchorRequest.Buildertags(Collection<Tag> tags)The tags to attach to the trust anchor.CreateTrustAnchorRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags to attach to the trust anchor.CreateTrustAnchorRequest.Buildertags(Tag... tags)The tags to attach to the trust anchor.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
enabled
CreateTrustAnchorRequest.Builder enabled(Boolean 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
CreateTrustAnchorRequest.Builder name(String 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
CreateTrustAnchorRequest.Builder notificationSettings(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
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 to#notificationSettings(List.) - 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:
#notificationSettings(java.util.Collection)
-
source
CreateTrustAnchorRequest.Builder source(Source 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
default CreateTrustAnchorRequest.Builder source(Consumer<Source.Builder> 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:
source(Source)
-
tags
CreateTrustAnchorRequest.Builder tags(Collection<Tag> 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
CreateTrustAnchorRequest.Builder tags(Tag... 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
CreateTrustAnchorRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateTrustAnchorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTrustAnchorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-