@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.
|
String |
getUploadType()
The mode for uploading compliance items.
|
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.
|
void |
setUploadType(String uploadType)
The mode for uploading compliance items.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
PutComplianceItemsRequest |
withUploadType(ComplianceUploadType uploadType)
The mode for uploading compliance items.
|
PutComplianceItemsRequest |
withUploadType(String uploadType)
The mode for uploading compliance items.
|
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 node, this is the node ID.
resourceId
- Specify an ID for this resource. For a managed node, this is the node ID.public String getResourceId()
Specify an ID for this resource. For a managed node, this is the node ID.
public PutComplianceItemsRequest withResourceId(String resourceId)
Specify an ID for this resource. For a managed node, this is the node ID.
resourceId
- Specify an ID for this resource. For a managed node, this is the node 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, and so on.
Items
includes information about the PatchSeverity, Classification, and so on.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, and so on.
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, and so on.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, and so on.
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, and so on.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, and so on.
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, and so on.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 void setUploadType(String uploadType)
The mode for uploading compliance items. You can specify COMPLETE
or PARTIAL
. In
COMPLETE
mode, the system overwrites all existing compliance information for the resource. You must
provide a full list of compliance items each time you send the request.
In PARTIAL
mode, the system overwrites compliance information for a specific association. The
association must be configured with SyncCompliance
set to MANUAL
. By default, all
requests use COMPLETE
mode.
This attribute is only valid for association compliance.
uploadType
- The mode for uploading compliance items. You can specify COMPLETE
or PARTIAL
. In
COMPLETE
mode, the system overwrites all existing compliance information for the resource.
You must provide a full list of compliance items each time you send the request.
In PARTIAL
mode, the system overwrites compliance information for a specific association. The
association must be configured with SyncCompliance
set to MANUAL
. By default,
all requests use COMPLETE
mode.
This attribute is only valid for association compliance.
ComplianceUploadType
public String getUploadType()
The mode for uploading compliance items. You can specify COMPLETE
or PARTIAL
. In
COMPLETE
mode, the system overwrites all existing compliance information for the resource. You must
provide a full list of compliance items each time you send the request.
In PARTIAL
mode, the system overwrites compliance information for a specific association. The
association must be configured with SyncCompliance
set to MANUAL
. By default, all
requests use COMPLETE
mode.
This attribute is only valid for association compliance.
COMPLETE
or PARTIAL
.
In COMPLETE
mode, the system overwrites all existing compliance information for the
resource. You must provide a full list of compliance items each time you send the request.
In PARTIAL
mode, the system overwrites compliance information for a specific association.
The association must be configured with SyncCompliance
set to MANUAL
. By
default, all requests use COMPLETE
mode.
This attribute is only valid for association compliance.
ComplianceUploadType
public PutComplianceItemsRequest withUploadType(String uploadType)
The mode for uploading compliance items. You can specify COMPLETE
or PARTIAL
. In
COMPLETE
mode, the system overwrites all existing compliance information for the resource. You must
provide a full list of compliance items each time you send the request.
In PARTIAL
mode, the system overwrites compliance information for a specific association. The
association must be configured with SyncCompliance
set to MANUAL
. By default, all
requests use COMPLETE
mode.
This attribute is only valid for association compliance.
uploadType
- The mode for uploading compliance items. You can specify COMPLETE
or PARTIAL
. In
COMPLETE
mode, the system overwrites all existing compliance information for the resource.
You must provide a full list of compliance items each time you send the request.
In PARTIAL
mode, the system overwrites compliance information for a specific association. The
association must be configured with SyncCompliance
set to MANUAL
. By default,
all requests use COMPLETE
mode.
This attribute is only valid for association compliance.
ComplianceUploadType
public PutComplianceItemsRequest withUploadType(ComplianceUploadType uploadType)
The mode for uploading compliance items. You can specify COMPLETE
or PARTIAL
. In
COMPLETE
mode, the system overwrites all existing compliance information for the resource. You must
provide a full list of compliance items each time you send the request.
In PARTIAL
mode, the system overwrites compliance information for a specific association. The
association must be configured with SyncCompliance
set to MANUAL
. By default, all
requests use COMPLETE
mode.
This attribute is only valid for association compliance.
uploadType
- The mode for uploading compliance items. You can specify COMPLETE
or PARTIAL
. In
COMPLETE
mode, the system overwrites all existing compliance information for the resource.
You must provide a full list of compliance items each time you send the request.
In PARTIAL
mode, the system overwrites compliance information for a specific association. The
association must be configured with SyncCompliance
set to MANUAL
. By default,
all requests use COMPLETE
mode.
This attribute is only valid for association compliance.
ComplianceUploadType
public String toString()
toString
in class Object
Object.toString()
public PutComplianceItemsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.