@Generated(value="software.amazon.awssdk:codegen") public final class UpdateResourceRequest extends WorkMailRequest implements ToCopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateResourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
BookingOptions |
bookingOptions()
The resource's booking options to be updated.
|
static UpdateResourceRequest.Builder |
builder() |
String |
description()
Updates the resource description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
hiddenFromGlobalAddressList()
If enabled, the resource is hidden from the global address list.
|
String |
name()
The name of the resource to be updated.
|
String |
organizationId()
The identifier associated with the organization for which the resource is updated.
|
String |
resourceId()
The identifier of the resource to be updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateResourceRequest.Builder> |
serializableBuilderClass() |
UpdateResourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ResourceType |
type()
Updates the resource type.
|
String |
typeAsString()
Updates the resource type.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String organizationId()
The identifier associated with the organization for which the resource is updated.
public final String resourceId()
The identifier of the resource to be updated.
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
Resource ID: r-0123456789a0123456789b0123456789
Email address: resource@domain.tld
Resource name: resource
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
Resource ID: r-0123456789a0123456789b0123456789
Email address: resource@domain.tld
Resource name: resource
public final String name()
The name of the resource to be updated.
public final BookingOptions bookingOptions()
The resource's booking options to be updated.
public final String description()
Updates the resource description.
public final ResourceType type()
Updates the resource type.
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().
ResourceTypepublic final String typeAsString()
Updates the resource type.
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().
ResourceTypepublic final Boolean hiddenFromGlobalAddressList()
If enabled, the resource is hidden from the global address list.
public UpdateResourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>toBuilder in class WorkMailRequestpublic static UpdateResourceRequest.Builder builder()
public static Class<? extends UpdateResourceRequest.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.