@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()
Name of the conformance pack you want to create.
|
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 full conformance pack template body.
|
String |
getTemplateS3Uri()
Location of file containing the template body (
s3://bucketname/prefix ). |
int |
hashCode() |
void |
setConformancePackInputParameters(Collection<ConformancePackInputParameter> conformancePackInputParameters)
A list of
ConformancePackInputParameter objects. |
void |
setConformancePackName(String conformancePackName)
Name of the conformance pack you want to create.
|
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 full conformance pack template body.
|
void |
setTemplateS3Uri(String templateS3Uri)
Location of file containing the template body (
s3://bucketname/prefix ). |
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)
Name of the conformance pack you want to create.
|
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 full conformance pack template body.
|
PutConformancePackRequest |
withTemplateS3Uri(String templateS3Uri)
Location of file containing the template body (
s3://bucketname/prefix ). |
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)
Name of the conformance pack you want to create.
conformancePackName
- Name of the conformance pack you want to create.public String getConformancePackName()
Name of the conformance pack you want to create.
public PutConformancePackRequest withConformancePackName(String conformancePackName)
Name of the conformance pack you want to create.
conformancePackName
- Name of the conformance pack you want to create.public void setTemplateS3Uri(String templateS3Uri)
Location of file containing the template body (s3://bucketname/prefix
). The uri must point to the
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.
templateS3Uri
- Location of file containing the template body (s3://bucketname/prefix
). The uri must point to
the 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.
public String getTemplateS3Uri()
Location of file containing the template body (s3://bucketname/prefix
). The uri must point to the
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.
s3://bucketname/prefix
). The uri must point
to the 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.
public PutConformancePackRequest withTemplateS3Uri(String templateS3Uri)
Location of file containing the template body (s3://bucketname/prefix
). The uri must point to the
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.
templateS3Uri
- Location of file containing the template body (s3://bucketname/prefix
). The uri must point to
the 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.
public void setTemplateBody(String templateBody)
A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
) and
a remediation action (AWS::Config::RemediationConfiguration
).
templateBody
- A string containing full conformance pack template body. Structure containing the template body with a
minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: Config rule (
AWS::Config::ConfigRule
) and a remediation action (
AWS::Config::RemediationConfiguration
).
public String getTemplateBody()
A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
) and
a remediation action (AWS::Config::RemediationConfiguration
).
You can only use a YAML template with two resource types: Config rule (
AWS::Config::ConfigRule
) and a remediation action (
AWS::Config::RemediationConfiguration
).
public PutConformancePackRequest withTemplateBody(String templateBody)
A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule
) and
a remediation action (AWS::Config::RemediationConfiguration
).
templateBody
- A string containing full conformance pack template body. Structure containing the template body with a
minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: Config rule (
AWS::Config::ConfigRule
) and a 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 String toString()
toString
in class Object
Object.toString()
public PutConformancePackRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()