@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePatchBaselineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreatePatchBaselineRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreatePatchBaselineRequest |
clone() |
boolean |
equals(Object obj) |
PatchRuleGroup |
getApprovalRules()
A set of rules used to include patches in the baseline.
|
List<String> |
getApprovedPatches()
A list of explicitly approved patches for the baseline.
|
String |
getClientToken()
User-provided idempotency token.
|
String |
getDescription()
A description of the patch baseline.
|
PatchFilterGroup |
getGlobalFilters()
A set of global filters used to exclude patches from the baseline.
|
String |
getName()
The name of the patch baseline.
|
List<String> |
getRejectedPatches()
A list of explicitly rejected patches for the baseline.
|
int |
hashCode() |
void |
setApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
void |
setApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
void |
setClientToken(String clientToken)
User-provided idempotency token.
|
void |
setDescription(String description)
A description of the patch baseline.
|
void |
setGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
|
void |
setName(String name)
The name of the patch baseline.
|
void |
setRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreatePatchBaselineRequest |
withApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
CreatePatchBaselineRequest |
withApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
CreatePatchBaselineRequest |
withApprovedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
CreatePatchBaselineRequest |
withClientToken(String clientToken)
User-provided idempotency token.
|
CreatePatchBaselineRequest |
withDescription(String description)
A description of the patch baseline.
|
CreatePatchBaselineRequest |
withGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
|
CreatePatchBaselineRequest |
withName(String name)
The name of the patch baseline.
|
CreatePatchBaselineRequest |
withRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
CreatePatchBaselineRequest |
withRejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the patch baseline.
name - The name of the patch baseline.public String getName()
The name of the patch baseline.
public CreatePatchBaselineRequest withName(String name)
The name of the patch baseline.
name - The name of the patch baseline.public void setGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
globalFilters - A set of global filters used to exclude patches from the baseline.public PatchFilterGroup getGlobalFilters()
A set of global filters used to exclude patches from the baseline.
public CreatePatchBaselineRequest withGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
globalFilters - A set of global filters used to exclude patches from the baseline.public void setApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
approvalRules - A set of rules used to include patches in the baseline.public PatchRuleGroup getApprovalRules()
A set of rules used to include patches in the baseline.
public CreatePatchBaselineRequest withApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
approvalRules - A set of rules used to include patches in the baseline.public List<String> getApprovedPatches()
A list of explicitly approved patches for the baseline.
public void setApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
approvedPatches - A list of explicitly approved patches for the baseline.public CreatePatchBaselineRequest withApprovedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
NOTE: This method appends the values to the existing list (if any). Use
setApprovedPatches(java.util.Collection) or withApprovedPatches(java.util.Collection) if you
want to override the existing values.
approvedPatches - A list of explicitly approved patches for the baseline.public CreatePatchBaselineRequest withApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
approvedPatches - A list of explicitly approved patches for the baseline.public List<String> getRejectedPatches()
A list of explicitly rejected patches for the baseline.
public void setRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches - A list of explicitly rejected patches for the baseline.public CreatePatchBaselineRequest withRejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
NOTE: This method appends the values to the existing list (if any). Use
setRejectedPatches(java.util.Collection) or withRejectedPatches(java.util.Collection) if you
want to override the existing values.
rejectedPatches - A list of explicitly rejected patches for the baseline.public CreatePatchBaselineRequest withRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches - A list of explicitly rejected patches for the baseline.public void setDescription(String description)
A description of the patch baseline.
description - A description of the patch baseline.public String getDescription()
A description of the patch baseline.
public CreatePatchBaselineRequest withDescription(String description)
A description of the patch baseline.
description - A description of the patch baseline.public void setClientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.public String getClientToken()
User-provided idempotency token.
public CreatePatchBaselineRequest withClientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.public String toString()
toString in class ObjectObject.toString()public CreatePatchBaselineRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.