Interface CreateResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateResourceRequest.Builder,,CreateResourceRequest> SdkBuilder<CreateResourceRequest.Builder,,CreateResourceRequest> SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
CreateResourceRequest
public static interface CreateResourceRequest.Builder
extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<CreateResourceRequest.Builder,CreateResourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Resource description.hiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList) If this parameter is enabled, the resource will be hidden from the address book.The name of the new resource.organizationId(String organizationId) The identifier associated with the organization for which the resource is created.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The type of the new resource.type(ResourceType type) The type of the new resource.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailRequest.Builder
build
-
Method Details
-
organizationId
The identifier associated with the organization for which the resource is created.
- Parameters:
organizationId- The identifier associated with the organization for which the resource is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the new resource.
- Parameters:
name- The name of the new resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the new resource. The available types are
equipmentandroom.- Parameters:
type- The type of the new resource. The available types areequipmentandroom.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the new resource. The available types are
equipmentandroom.- Parameters:
type- The type of the new resource. The available types areequipmentandroom.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
Resource description.
- Parameters:
description- Resource description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateResourceRequest.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
CreateResourceRequest.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.
-