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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateResourceRequest.Builderdescription(String description)Resource description.CreateResourceRequest.BuilderhiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)If this parameter is enabled, the resource will be hidden from the address book.CreateResourceRequest.Buildername(String name)The name of the new resource.CreateResourceRequest.BuilderorganizationId(String organizationId)The identifier associated with the organization for which the resource is created.CreateResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateResourceRequest.Buildertype(String type)The type of the new resource.CreateResourceRequest.Buildertype(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 Detail
-
organizationId
CreateResourceRequest.Builder organizationId(String 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
CreateResourceRequest.Builder name(String 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
CreateResourceRequest.Builder type(String 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:
ResourceType,ResourceType
-
type
CreateResourceRequest.Builder type(ResourceType 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:
ResourceType,ResourceType
-
description
CreateResourceRequest.Builder description(String description)
Resource description.
- Parameters:
description- Resource description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hiddenFromGlobalAddressList
CreateResourceRequest.Builder hiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
If this parameter is enabled, the resource will be hidden from the address book.
- Parameters:
hiddenFromGlobalAddressList- If this parameter is enabled, the resource will be hidden from the address book.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-