@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetExclusionsPreviewResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetExclusionsPreviewResult() |
Modifier and Type | Method and Description |
---|---|
GetExclusionsPreviewResult |
clone() |
boolean |
equals(Object obj) |
List<ExclusionPreview> |
getExclusionPreviews()
Information about the exclusions included in the preview.
|
String |
getNextToken()
When a response is generated, if there is more data to be listed, this parameters is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
String |
getPreviewStatus()
Specifies the status of the request to generate an exclusions preview.
|
int |
hashCode() |
void |
setExclusionPreviews(Collection<ExclusionPreview> exclusionPreviews)
Information about the exclusions included in the preview.
|
void |
setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameters is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
void |
setPreviewStatus(String previewStatus)
Specifies the status of the request to generate an exclusions preview.
|
String |
toString()
Returns a string representation of this object.
|
GetExclusionsPreviewResult |
withExclusionPreviews(Collection<ExclusionPreview> exclusionPreviews)
Information about the exclusions included in the preview.
|
GetExclusionsPreviewResult |
withExclusionPreviews(ExclusionPreview... exclusionPreviews)
Information about the exclusions included in the preview.
|
GetExclusionsPreviewResult |
withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameters is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
GetExclusionsPreviewResult |
withPreviewStatus(PreviewStatus previewStatus)
Specifies the status of the request to generate an exclusions preview.
|
GetExclusionsPreviewResult |
withPreviewStatus(String previewStatus)
Specifies the status of the request to generate an exclusions preview.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPreviewStatus(String previewStatus)
Specifies the status of the request to generate an exclusions preview.
previewStatus
- Specifies the status of the request to generate an exclusions preview.PreviewStatus
public String getPreviewStatus()
Specifies the status of the request to generate an exclusions preview.
PreviewStatus
public GetExclusionsPreviewResult withPreviewStatus(String previewStatus)
Specifies the status of the request to generate an exclusions preview.
previewStatus
- Specifies the status of the request to generate an exclusions preview.PreviewStatus
public GetExclusionsPreviewResult withPreviewStatus(PreviewStatus previewStatus)
Specifies the status of the request to generate an exclusions preview.
previewStatus
- Specifies the status of the request to generate an exclusions preview.PreviewStatus
public List<ExclusionPreview> getExclusionPreviews()
Information about the exclusions included in the preview.
public void setExclusionPreviews(Collection<ExclusionPreview> exclusionPreviews)
Information about the exclusions included in the preview.
exclusionPreviews
- Information about the exclusions included in the preview.public GetExclusionsPreviewResult withExclusionPreviews(ExclusionPreview... exclusionPreviews)
Information about the exclusions included in the preview.
NOTE: This method appends the values to the existing list (if any). Use
setExclusionPreviews(java.util.Collection)
or withExclusionPreviews(java.util.Collection)
if
you want to override the existing values.
exclusionPreviews
- Information about the exclusions included in the preview.public GetExclusionsPreviewResult withExclusionPreviews(Collection<ExclusionPreview> exclusionPreviews)
Information about the exclusions included in the preview.
exclusionPreviews
- Information about the exclusions included in the preview.public void setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameters is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination request. If
there is no more data to be listed, this parameter is set to null.public String getNextToken()
When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
public GetExclusionsPreviewResult withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameters is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination request. If
there is no more data to be listed, this parameter is set to null.public String toString()
toString
in class Object
Object.toString()
public GetExclusionsPreviewResult clone()