@Generated(value="software.amazon.awssdk:codegen") public final class CreateResourceRequest extends WorkMailRequest implements ToCopyableBuilder<CreateResourceRequest.Builder,CreateResourceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateResourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateResourceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the new resource.
|
String |
organizationId()
The identifier associated with the organization for which the resource is created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateResourceRequest.Builder> |
serializableBuilderClass() |
CreateResourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ResourceType |
type()
The type of the new resource.
|
String |
typeAsString()
The type of the new resource.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String organizationId()
The identifier associated with the organization for which the resource is created.
public String name()
The name of the new resource.
public ResourceType type()
The type of the new resource. The available types are equipment and room.
If the service returns an enum value that is not available in the current SDK version, type will return
ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
equipment and room.ResourceTypepublic String typeAsString()
The type of the new resource. The available types are equipment and room.
If the service returns an enum value that is not available in the current SDK version, type will return
ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
equipment and room.ResourceTypepublic CreateResourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateResourceRequest.Builder,CreateResourceRequest>toBuilder in class WorkMailRequestpublic static CreateResourceRequest.Builder builder()
public static Class<? extends CreateResourceRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.