Interface AddEntityOwnerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddEntityOwnerRequest.Builder,,AddEntityOwnerRequest> DataZoneRequest.Builder,SdkBuilder<AddEntityOwnerRequest.Builder,,AddEntityOwnerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AddEntityOwnerRequest
public static interface AddEntityOwnerRequest.Builder
extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<AddEntityOwnerRequest.Builder,AddEntityOwnerRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.domainIdentifier(String domainIdentifier) The ID of the domain in which you want to add the entity owner.entityIdentifier(String entityIdentifier) The ID of the entity to which you want to add an owner.entityType(String entityType) The type of an entity.entityType(DataZoneEntityType entityType) The type of an entity.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default AddEntityOwnerRequest.Builderowner(Consumer<OwnerProperties.Builder> owner) The owner that you want to add to the entity.owner(OwnerProperties owner) The owner that you want to add to the entity.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.datazone.model.DataZoneRequest.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
-
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The ID of the domain in which you want to add the entity owner.
- Parameters:
domainIdentifier- The ID of the domain in which you want to add the entity owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityIdentifier
The ID of the entity to which you want to add an owner.
- Parameters:
entityIdentifier- The ID of the entity to which you want to add an owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityType
The type of an entity.
- Parameters:
entityType- The type of an entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityType
The type of an entity.
- Parameters:
entityType- The type of an entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
owner
The owner that you want to add to the entity.
- Parameters:
owner- The owner that you want to add to the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The owner that you want to add to the entity.
This is a convenience method that creates an instance of theOwnerProperties.Builderavoiding the need to create one manually viaOwnerProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toowner(OwnerProperties).- Parameters:
owner- a consumer that will call methods onOwnerProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddEntityOwnerRequest.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
AddEntityOwnerRequest.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.
-