Interface CreatePublisherRequest.Builder
- All Superinterfaces:
AgentRegistryControlRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreatePublisherRequest.Builder,,CreatePublisherRequest> SdkBuilder<CreatePublisherRequest.Builder,,CreatePublisherRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePublisherRequest
@Mutable
@NotThreadSafe
public static interface CreatePublisherRequest.Builder
extends AgentRegistryControlRequest.Builder, SdkPojo, CopyableBuilder<CreatePublisherRequest.Builder,CreatePublisherRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Optional client-provided idempotency token.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to attach to the publisher.default CreatePublisherRequest.Buildervalue(Consumer<Identifier.Builder> value) Sets the value of the Value property for this object.value(Identifier value) Sets the value of the Value property for this object.Methods inherited from interface software.amazon.awssdk.services.agentregistrycontrol.model.AgentRegistryControlRequest.Builder
buildMethods 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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
value
Sets the value of the Value property for this object.- Parameters:
value- The new value for the Value property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Sets the value of the Value property for this object. This is a convenience method that creates an instance of theIdentifier.Builderavoiding the need to create one manually viaIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(Identifier).- Parameters:
value- a consumer that will call methods onIdentifier.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 publisher. Each tag is a key-value pair. You can attach up to 50 tags.
- Parameters:
tags- The tags to attach to the publisher. Each tag is a key-value pair. You can attach up to 50 tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Optional client-provided idempotency token. Retries of the same Create request carrying the same token return the originally-created resource instead of creating a duplicate. Forwarded to BelfryGlobalCP. Optional and backward-compatible.
- Parameters:
clientToken- Optional client-provided idempotency token. Retries of the same Create request carrying the same token return the originally-created resource instead of creating a duplicate. Forwarded to BelfryGlobalCP. Optional and backward-compatible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePublisherRequest.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
CreatePublisherRequest.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.
-