@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutConformancePackRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutConformancePackRequest() |
Modifier and Type | Method and Description |
---|---|
PutConformancePackRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ConformancePackInputParameter> |
getConformancePackInputParameters()
A list of
ConformancePackInputParameter objects. |
String |
getConformancePackName()
The unique name of the conformance pack you want to deploy.
|
String |
getDeliveryS3Bucket()
The name of the Amazon S3 bucket where Config stores conformance pack templates.
|
String |
getDeliveryS3KeyPrefix()
The prefix for the Amazon S3 bucket.
|
String |
getTemplateBody()
A string containing the full conformance pack template body.
|
String |
getTemplateS3Uri()
The location of the file containing the template body (
s3://bucketname/prefix ). |
TemplateSSMDocumentDetails |
getTemplateSSMDocumentDetails()
An object of type
TemplateSSMDocumentDetails , which contains the name or the Amazon Resource Name
(ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that
is used to create a conformance pack. |
int |
hashCode() |
void |
setConformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)
A list of
ConformancePackInputParameter objects. |
void |
setConformancePackName(String conformancePackName)
The unique name of the conformance pack you want to deploy.
|
void |
setDeliveryS3Bucket(String deliveryS3Bucket)
The name of the Amazon S3 bucket where Config stores conformance pack templates.
|
void |
setDeliveryS3KeyPrefix(String deliveryS3KeyPrefix)
The prefix for the Amazon S3 bucket.
|
void |
setTemplateBody(String templateBody)
A string containing the full conformance pack template body.
|
void |
setTemplateS3Uri(String templateS3Uri)
The location of the file containing the template body (
s3://bucketname/prefix ). |
void |
setTemplateSSMDocumentDetails(TemplateSSMDocumentDetails templateSSMDocumentDetails)
An object of type
TemplateSSMDocumentDetails , which contains the name or the Amazon Resource Name
(ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that
is used to create a conformance pack. |
String |
toString()
Returns a string representation of this object.
|
PutConformancePackRequest |
withConformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)
A list of
ConformancePackInputParameter objects. |
PutConformancePackRequest |
withConformancePackInputParameters(ConformancePackInputParameter... conformancePackInputParameters)
A list of
ConformancePackInputParameter objects. |
PutConformancePackRequest |
withConformancePackName(String conformancePackName)
The unique name of the conformance pack you want to deploy.
|
PutConformancePackRequest |
withDeliveryS3Bucket(String deliveryS3Bucket)
The name of the Amazon S3 bucket where Config stores conformance pack templates.
|
PutConformancePackRequest |
withDeliveryS3KeyPrefix(String deliveryS3KeyPrefix)
The prefix for the Amazon S3 bucket.
|
PutConformancePackRequest |
withTemplateBody(String templateBody)
A string containing the full conformance pack template body.
|
PutConformancePackRequest |
withTemplateS3Uri(String templateS3Uri)
The location of the file containing the template body (
s3://bucketname/prefix ). |
PutConformancePackRequest |
withTemplateSSMDocumentDetails(TemplateSSMDocumentDetails templateSSMDocumentDetails)
An object of type
TemplateSSMDocumentDetails , which contains the name or the Amazon Resource Name
(ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that
is used to create a conformance pack. |
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 setConformancePackName(String conformancePackName)
The unique name of the conformance pack you want to deploy.
conformancePackName
- The unique name of the conformance pack you want to deploy.public String getConformancePackName()
The unique name of the conformance pack you want to deploy.
public PutConformancePackRequest withConformancePackName(String conformancePackName)
The unique name of the conformance pack you want to deploy.
conformancePackName
- The unique name of the conformance pack you want to deploy.public void setTemplateS3Uri(String templateS3Uri)
The location of the file containing the template body (s3://bucketname/prefix
). The uri must point
to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same Region as
the conformance pack.
You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
templateS3Uri
- The location of the file containing the template body (s3://bucketname/prefix
). The uri must
point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same
Region as the conformance pack. You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
public String getTemplateS3Uri()
The location of the file containing the template body (s3://bucketname/prefix
). The uri must point
to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same Region as
the conformance pack.
You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
s3://bucketname/prefix
). The uri must
point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the
same Region as the conformance pack. You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
public PutConformancePackRequest withTemplateS3Uri(String templateS3Uri)
The location of the file containing the template body (s3://bucketname/prefix
). The uri must point
to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same Region as
the conformance pack.
You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
templateS3Uri
- The location of the file containing the template body (s3://bucketname/prefix
). The uri must
point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same
Region as the conformance pack. You must have access to read Amazon S3 bucket. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
public void setTemplateBody(String templateBody)
A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
) and
remediation action (AWS::Config::RemediationConfiguration
).
templateBody
- A string containing the full conformance pack template body. The structure containing the template body
has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
)
and remediation action (AWS::Config::RemediationConfiguration
).
public String getTemplateBody()
A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
) and
remediation action (AWS::Config::RemediationConfiguration
).
You can use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
)
and remediation action (AWS::Config::RemediationConfiguration
).
public PutConformancePackRequest withTemplateBody(String templateBody)
A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
) and
remediation action (AWS::Config::RemediationConfiguration
).
templateBody
- A string containing the full conformance pack template body. The structure containing the template body
has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
)
and remediation action (AWS::Config::RemediationConfiguration
).
public void setDeliveryS3Bucket(String deliveryS3Bucket)
The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
deliveryS3Bucket
- The name of the Amazon S3 bucket where Config stores conformance pack templates. This field is optional.
public String getDeliveryS3Bucket()
The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
This field is optional.
public PutConformancePackRequest withDeliveryS3Bucket(String deliveryS3Bucket)
The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
deliveryS3Bucket
- The name of the Amazon S3 bucket where Config stores conformance pack templates. This field is optional.
public void setDeliveryS3KeyPrefix(String deliveryS3KeyPrefix)
The prefix for the Amazon S3 bucket.
This field is optional.
deliveryS3KeyPrefix
- The prefix for the Amazon S3 bucket. This field is optional.
public String getDeliveryS3KeyPrefix()
The prefix for the Amazon S3 bucket.
This field is optional.
This field is optional.
public PutConformancePackRequest withDeliveryS3KeyPrefix(String deliveryS3KeyPrefix)
The prefix for the Amazon S3 bucket.
This field is optional.
deliveryS3KeyPrefix
- The prefix for the Amazon S3 bucket. This field is optional.
public List<ConformancePackInputParameter> getConformancePackInputParameters()
A list of ConformancePackInputParameter
objects.
ConformancePackInputParameter
objects.public void setConformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)
A list of ConformancePackInputParameter
objects.
conformancePackInputParameters
- A list of ConformancePackInputParameter
objects.public PutConformancePackRequest withConformancePackInputParameters(ConformancePackInputParameter... conformancePackInputParameters)
A list of ConformancePackInputParameter
objects.
NOTE: This method appends the values to the existing list (if any). Use
setConformancePackInputParameters(java.util.Collection)
or
withConformancePackInputParameters(java.util.Collection)
if you want to override the existing values.
conformancePackInputParameters
- A list of ConformancePackInputParameter
objects.public PutConformancePackRequest withConformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)
A list of ConformancePackInputParameter
objects.
conformancePackInputParameters
- A list of ConformancePackInputParameter
objects.public void setTemplateSSMDocumentDetails(TemplateSSMDocumentDetails templateSSMDocumentDetails)
An object of type TemplateSSMDocumentDetails
, which contains the name or the Amazon Resource Name
(ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that
is used to create a conformance pack.
templateSSMDocumentDetails
- An object of type TemplateSSMDocumentDetails
, which contains the name or the Amazon Resource
Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM
document that is used to create a conformance pack.public TemplateSSMDocumentDetails getTemplateSSMDocumentDetails()
An object of type TemplateSSMDocumentDetails
, which contains the name or the Amazon Resource Name
(ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that
is used to create a conformance pack.
TemplateSSMDocumentDetails
, which contains the name or the Amazon Resource
Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM
document that is used to create a conformance pack.public PutConformancePackRequest withTemplateSSMDocumentDetails(TemplateSSMDocumentDetails templateSSMDocumentDetails)
An object of type TemplateSSMDocumentDetails
, which contains the name or the Amazon Resource Name
(ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that
is used to create a conformance pack.
templateSSMDocumentDetails
- An object of type TemplateSSMDocumentDetails
, which contains the name or the Amazon Resource
Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM
document that is used to create a conformance pack.public String toString()
toString
in class Object
Object.toString()
public PutConformancePackRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()