Class UpgradeAppliedSchemaRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest
-
- software.amazon.awssdk.services.clouddirectory.model.UpgradeAppliedSchemaRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpgradeAppliedSchemaRequest.Builder,UpgradeAppliedSchemaRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpgradeAppliedSchemaRequest extends CloudDirectoryRequest implements ToCopyableBuilder<UpgradeAppliedSchemaRequest.Builder,UpgradeAppliedSchemaRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpgradeAppliedSchemaRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpgradeAppliedSchemaRequest.Builderbuilder()StringdirectoryArn()The ARN for the directory to which the upgraded schema will be applied.BooleandryRun()Used for testing whether the major version schemas are backward compatible or not.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpublishedSchemaArn()The revision of the published schema to upgrade the directory to.List<SdkField<?>>sdkFields()static Class<? extends UpgradeAppliedSchemaRequest.Builder>serializableBuilderClass()UpgradeAppliedSchemaRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
publishedSchemaArn
public final String publishedSchemaArn()
The revision of the published schema to upgrade the directory to.
- Returns:
- The revision of the published schema to upgrade the directory to.
-
directoryArn
public final String directoryArn()
The ARN for the directory to which the upgraded schema will be applied.
- Returns:
- The ARN for the directory to which the upgraded schema will be applied.
-
dryRun
public final Boolean dryRun()
Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
- Returns:
- Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
-
toBuilder
public UpgradeAppliedSchemaRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpgradeAppliedSchemaRequest.Builder,UpgradeAppliedSchemaRequest>- Specified by:
toBuilderin classCloudDirectoryRequest
-
builder
public static UpgradeAppliedSchemaRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpgradeAppliedSchemaRequest.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
-
-