Class UpdateResourceRequest
- 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.UpdateResourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateResourceRequest extends WorkMailRequest implements ToCopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateResourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BookingOptionsbookingOptions()The resource's booking options to be updated.static UpdateResourceRequest.Builderbuilder()Stringdescription()Updates the resource description.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanhiddenFromGlobalAddressList()If enabled, the resource is hidden from the global address list.Stringname()The name of the resource to be updated.StringorganizationId()The identifier associated with the organization for which the resource is updated.StringresourceId()The identifier of the resource to be updated.List<SdkField<?>>sdkFields()static Class<? extends UpdateResourceRequest.Builder>serializableBuilderClass()UpdateResourceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ResourceTypetype()Updates the resource type.StringtypeAsString()Updates the resource type.-
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 updated.
- Returns:
- The identifier associated with the organization for which the resource is updated.
-
resourceId
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
- Returns:
- 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
-
-
-
name
public final String name()
The name of the resource to be updated.
- Returns:
- The name of the resource to be updated.
-
bookingOptions
public final BookingOptions bookingOptions()
The resource's booking options to be updated.
- Returns:
- The resource's booking options to be updated.
-
description
public final String description()
Updates the resource description.
- Returns:
- Updates the resource description.
-
type
public final ResourceType type()
Updates the resource type.
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:
- Updates the resource type.
- See Also:
ResourceType
-
typeAsString
public final String typeAsString()
Updates the resource type.
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:
- Updates the resource type.
- See Also:
ResourceType
-
hiddenFromGlobalAddressList
public final Boolean hiddenFromGlobalAddressList()
If enabled, the resource is hidden from the global address list.
- Returns:
- If enabled, the resource is hidden from the global address list.
-
toBuilder
public UpdateResourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>- Specified by:
toBuilderin classWorkMailRequest
-
builder
public static UpdateResourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateResourceRequest.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
-
-