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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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
equipment
androom
.- Parameters:
type
- The type of the new resource. The available types areequipment
androom
.- 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
equipment
androom
.- Parameters:
type
- The type of the new resource. The available types areequipment
androom
.- 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-