public static interface PutComplianceItemsRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<PutComplianceItemsRequest.Builder,PutComplianceItemsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutComplianceItemsRequest.Builder |
complianceType(String complianceType)
Specify the compliance type.
|
PutComplianceItemsRequest.Builder |
executionSummary(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'. |
default PutComplianceItemsRequest.Builder |
executionSummary(Consumer<ComplianceExecutionSummary.Builder> 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.Builder |
itemContentHash(String itemContentHash)
MD5 or SHA-256 content hash.
|
PutComplianceItemsRequest.Builder |
items(Collection<ComplianceItemEntry> items)
Information about the compliance as defined by the resource type.
|
PutComplianceItemsRequest.Builder |
items(ComplianceItemEntry... items)
Information about the compliance as defined by the resource type.
|
PutComplianceItemsRequest.Builder |
items(Consumer<ComplianceItemEntry.Builder>... items)
Information about the compliance as defined by the resource type.
|
PutComplianceItemsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutComplianceItemsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutComplianceItemsRequest.Builder |
resourceId(String resourceId)
Specify an ID for this resource.
|
PutComplianceItemsRequest.Builder |
resourceType(String resourceType)
Specify the type of resource.
|
PutComplianceItemsRequest.Builder |
uploadType(ComplianceUploadType uploadType)
The mode for uploading compliance items.
|
PutComplianceItemsRequest.Builder |
uploadType(String uploadType)
The mode for uploading compliance items.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutComplianceItemsRequest.Builder resourceId(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.PutComplianceItemsRequest.Builder resourceType(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.PutComplianceItemsRequest.Builder complianceType(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.PutComplianceItemsRequest.Builder executionSummary(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'.default PutComplianceItemsRequest.Builder executionSummary(Consumer<ComplianceExecutionSummary.Builder> 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'.
ComplianceExecutionSummary.Builder avoiding the
need to create one manually via ComplianceExecutionSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to executionSummary(ComplianceExecutionSummary).executionSummary - a consumer that will call methods on ComplianceExecutionSummary.BuilderexecutionSummary(ComplianceExecutionSummary)PutComplianceItemsRequest.Builder items(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.PutComplianceItemsRequest.Builder items(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.PutComplianceItemsRequest.Builder items(Consumer<ComplianceItemEntry.Builder>... 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.
List.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #items(List) .items - a consumer that will call methods on List.Builder #items(List) PutComplianceItemsRequest.Builder itemContentHash(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.PutComplianceItemsRequest.Builder uploadType(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,
ComplianceUploadTypePutComplianceItemsRequest.Builder uploadType(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,
ComplianceUploadTypePutComplianceItemsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutComplianceItemsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.