Class UpgradePublishedSchemaRequest
- 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.UpgradePublishedSchemaRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpgradePublishedSchemaRequest.Builder,UpgradePublishedSchemaRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpgradePublishedSchemaRequest extends CloudDirectoryRequest implements ToCopyableBuilder<UpgradePublishedSchemaRequest.Builder,UpgradePublishedSchemaRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpgradePublishedSchemaRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpgradePublishedSchemaRequest.Builderbuilder()StringdevelopmentSchemaArn()The ARN of the development schema with the changes used for the upgrade.BooleandryRun()Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringminorVersion()Identifies the minor version of the published schema that will be created.StringpublishedSchemaArn()The ARN of the published schema to be upgraded.List<SdkField<?>>sdkFields()static Class<? extends UpgradePublishedSchemaRequest.Builder>serializableBuilderClass()UpgradePublishedSchemaRequest.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
-
developmentSchemaArn
public final String developmentSchemaArn()
The ARN of the development schema with the changes used for the upgrade.
- Returns:
- The ARN of the development schema with the changes used for the upgrade.
-
publishedSchemaArn
public final String publishedSchemaArn()
The ARN of the published schema to be upgraded.
- Returns:
- The ARN of the published schema to be upgraded.
-
minorVersion
public final String minorVersion()
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
- Returns:
- Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
-
dryRun
public final Boolean dryRun()
Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
- Returns:
- Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
-
toBuilder
public UpgradePublishedSchemaRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpgradePublishedSchemaRequest.Builder,UpgradePublishedSchemaRequest>- Specified by:
toBuilderin classCloudDirectoryRequest
-
builder
public static UpgradePublishedSchemaRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpgradePublishedSchemaRequest.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
-
-