@Generated(value="software.amazon.awssdk:codegen") public final class PutConformancePackRequest extends ConfigRequest implements ToCopyableBuilder<PutConformancePackRequest.Builder,PutConformancePackRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutConformancePackRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutConformancePackRequest.Builder |
builder() |
List<ConformancePackInputParameter> |
conformancePackInputParameters()
A list of
ConformancePackInputParameter objects. |
String |
conformancePackName()
Name of the conformance pack you want to create.
|
String |
deliveryS3Bucket()
Amazon S3 bucket where AWS Config stores conformance pack templates.
|
String |
deliveryS3KeyPrefix()
The prefix for the Amazon S3 bucket.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasConformancePackInputParameters()
Returns true if the ConformancePackInputParameters property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutConformancePackRequest.Builder> |
serializableBuilderClass() |
String |
templateBody()
A string containing full conformance pack template body.
|
String |
templateS3Uri()
Location of file containing the template body (
s3://bucketname/prefix). |
PutConformancePackRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String conformancePackName()
Name of the conformance pack you want to create.
public final 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.
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 final 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 one resource type, that is, config rule and a remediation action.
You can only use a YAML template with one resource type, that is, config rule and a remediation action.
public final String deliveryS3Bucket()
Amazon S3 bucket where AWS Config stores conformance pack templates.
This field is optional.
This field is optional.
public final String deliveryS3KeyPrefix()
The prefix for the Amazon S3 bucket.
This field is optional.
This field is optional.
public final boolean hasConformancePackInputParameters()
public final List<ConformancePackInputParameter> conformancePackInputParameters()
A list of ConformancePackInputParameter objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasConformancePackInputParameters() to see if a value was sent in this field.
ConformancePackInputParameter objects.public PutConformancePackRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutConformancePackRequest.Builder,PutConformancePackRequest>toBuilder in class ConfigRequestpublic static PutConformancePackRequest.Builder builder()
public static Class<? extends PutConformancePackRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.