@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutComplianceItemsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutComplianceItemsRequest() |
Modifier and Type | Method and Description |
---|---|
PutComplianceItemsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getComplianceType()
Specify the compliance type.
|
ComplianceExecutionSummary |
getExecutionSummary()
A summary of the call execution that includes an execution ID, the type of execution (for example,
Command ), and the date/time of the execution using a datetime object that is saved in the following
format: yyyy-MM-dd'T'HH:mm:ss'Z'. |
String |
getItemContentHash()
MD5 or SHA-256 content hash.
|
List<ComplianceItemEntry> |
getItems()
Information about the compliance as defined by the resource type.
|
String |
getResourceId()
Specify an ID for this resource.
|
String |
getResourceType()
Specify the type of resource.
|
int |
hashCode() |
void |
setComplianceType(String complianceType)
Specify the compliance type.
|
void |
setExecutionSummary(ComplianceExecutionSummary executionSummary)
A summary of the call execution that includes an execution ID, the type of execution (for example,
Command ), and the date/time of the execution using a datetime object that is saved in the following
format: yyyy-MM-dd'T'HH:mm:ss'Z'. |
void |
setItemContentHash(String itemContentHash)
MD5 or SHA-256 content hash.
|
void |
setItems(Collection<ComplianceItemEntry> items)
Information about the compliance as defined by the resource type.
|
void |
setResourceId(String resourceId)
Specify an ID for this resource.
|
void |
setResourceType(String resourceType)
Specify the type of resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutComplianceItemsRequest |
withComplianceType(String complianceType)
Specify the compliance type.
|
PutComplianceItemsRequest |
withExecutionSummary(ComplianceExecutionSummary executionSummary)
A summary of the call execution that includes an execution ID, the type of execution (for example,
Command ), and the date/time of the execution using a datetime object that is saved in the following
format: yyyy-MM-dd'T'HH:mm:ss'Z'. |
PutComplianceItemsRequest |
withItemContentHash(String itemContentHash)
MD5 or SHA-256 content hash.
|
PutComplianceItemsRequest |
withItems(Collection<ComplianceItemEntry> items)
Information about the compliance as defined by the resource type.
|
PutComplianceItemsRequest |
withItems(ComplianceItemEntry... items)
Information about the compliance as defined by the resource type.
|
PutComplianceItemsRequest |
withResourceId(String resourceId)
Specify an ID for this resource.
|
PutComplianceItemsRequest |
withResourceType(String resourceType)
Specify the type of resource.
|
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 setResourceId(String resourceId)
Specify an ID for this resource. For a managed instance, this is the instance ID.
resourceId
- Specify an ID for this resource. For a managed instance, this is the instance ID.public String getResourceId()
Specify an ID for this resource. For a managed instance, this is the instance ID.
public PutComplianceItemsRequest withResourceId(String resourceId)
Specify an ID for this resource. For a managed instance, this is the instance ID.
resourceId
- Specify an ID for this resource. For a managed instance, this is the instance ID.public void setResourceType(String resourceType)
Specify the type of resource. ManagedInstance
is currently the only supported resource type.
resourceType
- Specify the type of resource. ManagedInstance
is currently the only supported resource type.public String getResourceType()
Specify the type of resource. ManagedInstance
is currently the only supported resource type.
ManagedInstance
is currently the only supported resource type.public PutComplianceItemsRequest withResourceType(String resourceType)
Specify the type of resource. ManagedInstance
is currently the only supported resource type.
resourceType
- Specify the type of resource. ManagedInstance
is currently the only supported resource type.public void setComplianceType(String complianceType)
Specify the compliance type. For example, specify Association (for a State Manager association), Patch, or
Custom:string
.
complianceType
- Specify the compliance type. For example, specify Association (for a State Manager association), Patch, or
Custom:string
.public String getComplianceType()
Specify the compliance type. For example, specify Association (for a State Manager association), Patch, or
Custom:string
.
string
.public PutComplianceItemsRequest withComplianceType(String complianceType)
Specify the compliance type. For example, specify Association (for a State Manager association), Patch, or
Custom:string
.
complianceType
- Specify the compliance type. For example, specify Association (for a State Manager association), Patch, or
Custom:string
.public void setExecutionSummary(ComplianceExecutionSummary executionSummary)
A summary of the call execution that includes an execution ID, the type of execution (for example,
Command
), and the date/time of the execution using a datetime object that is saved in the following
format: yyyy-MM-dd'T'HH:mm:ss'Z'.
executionSummary
- A summary of the call execution that includes an execution ID, the type of execution (for example,
Command
), and the date/time of the execution using a datetime object that is saved in the
following format: yyyy-MM-dd'T'HH:mm:ss'Z'.public ComplianceExecutionSummary getExecutionSummary()
A summary of the call execution that includes an execution ID, the type of execution (for example,
Command
), and the date/time of the execution using a datetime object that is saved in the following
format: yyyy-MM-dd'T'HH:mm:ss'Z'.
Command
), and the date/time of the execution using a datetime object that is saved in the
following format: yyyy-MM-dd'T'HH:mm:ss'Z'.public PutComplianceItemsRequest withExecutionSummary(ComplianceExecutionSummary executionSummary)
A summary of the call execution that includes an execution ID, the type of execution (for example,
Command
), and the date/time of the execution using a datetime object that is saved in the following
format: yyyy-MM-dd'T'HH:mm:ss'Z'.
executionSummary
- A summary of the call execution that includes an execution ID, the type of execution (for example,
Command
), and the date/time of the execution using a datetime object that is saved in the
following format: yyyy-MM-dd'T'HH:mm:ss'Z'.public List<ComplianceItemEntry> getItems()
Information about the compliance as defined by the resource type. For example, for a patch compliance type,
Items
includes information about the PatchSeverity, Classification, etc.
Items
includes information about the PatchSeverity, Classification, etc.public void setItems(Collection<ComplianceItemEntry> items)
Information about the compliance as defined by the resource type. For example, for a patch compliance type,
Items
includes information about the PatchSeverity, Classification, etc.
items
- Information about the compliance as defined by the resource type. For example, for a patch compliance
type, Items
includes information about the PatchSeverity, Classification, etc.public PutComplianceItemsRequest withItems(ComplianceItemEntry... items)
Information about the compliance as defined by the resource type. For example, for a patch compliance type,
Items
includes information about the PatchSeverity, Classification, etc.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- Information about the compliance as defined by the resource type. For example, for a patch compliance
type, Items
includes information about the PatchSeverity, Classification, etc.public PutComplianceItemsRequest withItems(Collection<ComplianceItemEntry> items)
Information about the compliance as defined by the resource type. For example, for a patch compliance type,
Items
includes information about the PatchSeverity, Classification, etc.
items
- Information about the compliance as defined by the resource type. For example, for a patch compliance
type, Items
includes information about the PatchSeverity, Classification, etc.public void setItemContentHash(String itemContentHash)
MD5 or SHA-256 content hash. The content hash is used to determine if existing information should be overwritten or ignored. If the content hashes match, the request to put compliance information is ignored.
itemContentHash
- MD5 or SHA-256 content hash. The content hash is used to determine if existing information should be
overwritten or ignored. If the content hashes match, the request to put compliance information is ignored.public String getItemContentHash()
MD5 or SHA-256 content hash. The content hash is used to determine if existing information should be overwritten or ignored. If the content hashes match, the request to put compliance information is ignored.
public PutComplianceItemsRequest withItemContentHash(String itemContentHash)
MD5 or SHA-256 content hash. The content hash is used to determine if existing information should be overwritten or ignored. If the content hashes match, the request to put compliance information is ignored.
itemContentHash
- MD5 or SHA-256 content hash. The content hash is used to determine if existing information should be
overwritten or ignored. If the content hashes match, the request to put compliance information is ignored.public String toString()
toString
in class Object
Object.toString()
public PutComplianceItemsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.