@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() |
String |
description()
Resource description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
hiddenFromGlobalAddressList()
If this parameter is enabled, the resource will be hidden from the address book.
|
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 final String organizationId()
The identifier associated with the organization for which the resource is created.
public final String name()
The name of the new resource.
public final 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 final 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 final String description()
Resource description.
public final Boolean hiddenFromGlobalAddressList()
If this parameter is enabled, the resource will be hidden from the address book.
public 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.