Class CreateResourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.workmail.model.WorkMailRequest
-
- software.amazon.awssdk.services.workmail.model.CreateResourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateResourceRequest.Builder,CreateResourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateResourceRequest extends WorkMailRequest implements ToCopyableBuilder<CreateResourceRequest.Builder,CreateResourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateResourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateResourceRequest.Builderbuilder()Stringdescription()Resource description.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanhiddenFromGlobalAddressList()If this parameter is enabled, the resource will be hidden from the address book.Stringname()The name of the new resource.StringorganizationId()The identifier associated with the organization for which the resource is created.List<SdkField<?>>sdkFields()static Class<? extends CreateResourceRequest.Builder>serializableBuilderClass()CreateResourceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ResourceTypetype()The type of the new resource.StringtypeAsString()The type of the new resource.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
organizationId
public final String organizationId()
The identifier associated with the organization for which the resource is created.
- Returns:
- The identifier associated with the organization for which the resource is created.
-
name
public final String name()
The name of the new resource.
- Returns:
- The name of the new resource.
-
type
public final ResourceType type()
The type of the new resource. The available types are
equipmentandroom.If the service returns an enum value that is not available in the current SDK version,
typewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the new resource. The available types are
equipmentandroom. - See Also:
ResourceType
-
typeAsString
public final String typeAsString()
The type of the new resource. The available types are
equipmentandroom.If the service returns an enum value that is not available in the current SDK version,
typewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the new resource. The available types are
equipmentandroom. - See Also:
ResourceType
-
description
public final String description()
Resource description.
- Returns:
- Resource description.
-
hiddenFromGlobalAddressList
public final Boolean hiddenFromGlobalAddressList()
If this parameter is enabled, the resource will be hidden from the address book.
- Returns:
- If this parameter is enabled, the resource will be hidden from the address book.
-
toBuilder
public CreateResourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateResourceRequest.Builder,CreateResourceRequest>- Specified by:
toBuilderin classWorkMailRequest
-
builder
public static CreateResourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateResourceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-