@Generated(value="software.amazon.awssdk:codegen") public final class AssociateS3ResourcesRequest extends MacieRequest implements ToCopyableBuilder<AssociateS3ResourcesRequest.Builder,AssociateS3ResourcesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
AssociateS3ResourcesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static AssociateS3ResourcesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
memberAccountId()
The ID of the Amazon Macie member account whose resources you want to associate with Macie.
|
List<S3ResourceClassification> |
s3Resources()
The S3 resources that you want to associate with Amazon Macie for monitoring and data classification.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociateS3ResourcesRequest.Builder> |
serializableBuilderClass() |
AssociateS3ResourcesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String memberAccountId()
The ID of the Amazon Macie member account whose resources you want to associate with Macie.
public List<S3ResourceClassification> s3Resources()
The S3 resources that you want to associate with Amazon Macie for monitoring and data classification.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AssociateS3ResourcesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AssociateS3ResourcesRequest.Builder,AssociateS3ResourcesRequest>
toBuilder
in class MacieRequest
public static AssociateS3ResourcesRequest.Builder builder()
public static Class<? extends AssociateS3ResourcesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.