@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpgradeAppliedSchemaRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpgradeAppliedSchemaRequest() |
Modifier and Type | Method and Description |
---|---|
UpgradeAppliedSchemaRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryArn()
The ARN for the directory to which the upgraded schema will be applied.
|
Boolean |
getDryRun()
Used for testing whether the major version schemas are backward compatible or not.
|
String |
getPublishedSchemaArn()
The revision of the published schema to upgrade the directory to.
|
int |
hashCode() |
Boolean |
isDryRun()
Used for testing whether the major version schemas are backward compatible or not.
|
void |
setDirectoryArn(String directoryArn)
The ARN for the directory to which the upgraded schema will be applied.
|
void |
setDryRun(Boolean dryRun)
Used for testing whether the major version schemas are backward compatible or not.
|
void |
setPublishedSchemaArn(String publishedSchemaArn)
The revision of the published schema to upgrade the directory to.
|
String |
toString()
Returns a string representation of this object.
|
UpgradeAppliedSchemaRequest |
withDirectoryArn(String directoryArn)
The ARN for the directory to which the upgraded schema will be applied.
|
UpgradeAppliedSchemaRequest |
withDryRun(Boolean dryRun)
Used for testing whether the major version schemas are backward compatible or not.
|
UpgradeAppliedSchemaRequest |
withPublishedSchemaArn(String publishedSchemaArn)
The revision of the published schema to upgrade the directory to.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPublishedSchemaArn(String publishedSchemaArn)
The revision of the published schema to upgrade the directory to.
publishedSchemaArn
- The revision of the published schema to upgrade the directory to.public String getPublishedSchemaArn()
The revision of the published schema to upgrade the directory to.
public UpgradeAppliedSchemaRequest withPublishedSchemaArn(String publishedSchemaArn)
The revision of the published schema to upgrade the directory to.
publishedSchemaArn
- The revision of the published schema to upgrade the directory to.public void setDirectoryArn(String directoryArn)
The ARN for the directory to which the upgraded schema will be applied.
directoryArn
- The ARN for the directory to which the upgraded schema will be applied.public String getDirectoryArn()
The ARN for the directory to which the upgraded schema will be applied.
public UpgradeAppliedSchemaRequest withDirectoryArn(String directoryArn)
The ARN for the directory to which the upgraded schema will be applied.
directoryArn
- The ARN for the directory to which the upgraded schema will be applied.public void setDryRun(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.
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.public Boolean getDryRun()
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.
public UpgradeAppliedSchemaRequest withDryRun(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.
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.public Boolean isDryRun()
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.
public String toString()
toString
in class Object
Object.toString()
public UpgradeAppliedSchemaRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()