Class CloudFrontOriginAccessIdentitySummary
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.CloudFrontOriginAccessIdentitySummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CloudFrontOriginAccessIdentitySummary.Builder,CloudFrontOriginAccessIdentitySummary>
@Generated("software.amazon.awssdk:codegen") public final class CloudFrontOriginAccessIdentitySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudFrontOriginAccessIdentitySummary.Builder,CloudFrontOriginAccessIdentitySummary>
Summary of the information about a CloudFront origin access identity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCloudFrontOriginAccessIdentitySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudFrontOriginAccessIdentitySummary.Builderbuilder()Stringcomment()The comment for this origin access identity, as originally specified when created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID for the origin access identity.Strings3CanonicalUserId()The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CloudFrontOriginAccessIdentitySummary.Builder>serializableBuilderClass()CloudFrontOriginAccessIdentitySummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The ID for the origin access identity. For example:
E74FTE3AJFJ256A.- Returns:
- The ID for the origin access identity. For example:
E74FTE3AJFJ256A.
-
s3CanonicalUserId
public final String s3CanonicalUserId()
The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
- Returns:
- The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
-
comment
public final String comment()
The comment for this origin access identity, as originally specified when created.
- Returns:
- The comment for this origin access identity, as originally specified when created.
-
toBuilder
public CloudFrontOriginAccessIdentitySummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CloudFrontOriginAccessIdentitySummary.Builder,CloudFrontOriginAccessIdentitySummary>
-
builder
public static CloudFrontOriginAccessIdentitySummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends CloudFrontOriginAccessIdentitySummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-