@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishSchemaRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PublishSchemaRequest() |
Modifier and Type | Method and Description |
---|---|
PublishSchemaRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDevelopmentSchemaArn()
The Amazon Resource Name (ARN) that is associated with the development schema.
|
String |
getMinorVersion()
The minor version under which the schema will be published.
|
String |
getName()
The new name under which the schema will be published.
|
String |
getVersion()
The major version under which the schema will be published.
|
int |
hashCode() |
void |
setDevelopmentSchemaArn(String developmentSchemaArn)
The Amazon Resource Name (ARN) that is associated with the development schema.
|
void |
setMinorVersion(String minorVersion)
The minor version under which the schema will be published.
|
void |
setName(String name)
The new name under which the schema will be published.
|
void |
setVersion(String version)
The major version under which the schema will be published.
|
String |
toString()
Returns a string representation of this object.
|
PublishSchemaRequest |
withDevelopmentSchemaArn(String developmentSchemaArn)
The Amazon Resource Name (ARN) that is associated with the development schema.
|
PublishSchemaRequest |
withMinorVersion(String minorVersion)
The minor version under which the schema will be published.
|
PublishSchemaRequest |
withName(String name)
The new name under which the schema will be published.
|
PublishSchemaRequest |
withVersion(String version)
The major version under which the schema will be published.
|
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 setDevelopmentSchemaArn(String developmentSchemaArn)
The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns.
developmentSchemaArn
- The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see
arns.public String getDevelopmentSchemaArn()
The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns.
public PublishSchemaRequest withDevelopmentSchemaArn(String developmentSchemaArn)
The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns.
developmentSchemaArn
- The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see
arns.public void setVersion(String version)
The major version under which the schema will be published. Schemas have both a major and minor version associated with them.
version
- The major version under which the schema will be published. Schemas have both a major and minor version
associated with them.public String getVersion()
The major version under which the schema will be published. Schemas have both a major and minor version associated with them.
public PublishSchemaRequest withVersion(String version)
The major version under which the schema will be published. Schemas have both a major and minor version associated with them.
version
- The major version under which the schema will be published. Schemas have both a major and minor version
associated with them.public void setMinorVersion(String minorVersion)
The minor version under which the schema will be published. This parameter is recommended. Schemas have both a major and minor version associated with them.
minorVersion
- The minor version under which the schema will be published. This parameter is recommended. Schemas have
both a major and minor version associated with them.public String getMinorVersion()
The minor version under which the schema will be published. This parameter is recommended. Schemas have both a major and minor version associated with them.
public PublishSchemaRequest withMinorVersion(String minorVersion)
The minor version under which the schema will be published. This parameter is recommended. Schemas have both a major and minor version associated with them.
minorVersion
- The minor version under which the schema will be published. This parameter is recommended. Schemas have
both a major and minor version associated with them.public void setName(String name)
The new name under which the schema will be published. If this is not provided, the development schema is considered.
name
- The new name under which the schema will be published. If this is not provided, the development schema is
considered.public String getName()
The new name under which the schema will be published. If this is not provided, the development schema is considered.
public PublishSchemaRequest withName(String name)
The new name under which the schema will be published. If this is not provided, the development schema is considered.
name
- The new name under which the schema will be published. If this is not provided, the development schema is
considered.public String toString()
toString
in class Object
Object.toString()
public PublishSchemaRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()