public static interface PutComplianceItemsRequest.Builder extends SSMRequest.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutComplianceItemsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
PutComplianceItemsRequest.Builder |
resourceId(String resourceId)
Specify an ID for this resource.
|
PutComplianceItemsRequest.Builder |
resourceType(String resourceType)
Specify the type of resource.
|
buildrequestOverrideConfigcopyapply, buildPutComplianceItemsRequest.Builder resourceId(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.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, 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.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, 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.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, etc.
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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutComplianceItemsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.