Class CloudFrontOriginAccessIdentity
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.CloudFrontOriginAccessIdentity
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CloudFrontOriginAccessIdentity.Builder,CloudFrontOriginAccessIdentity>
@Generated("software.amazon.awssdk:codegen") public final class CloudFrontOriginAccessIdentity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudFrontOriginAccessIdentity.Builder,CloudFrontOriginAccessIdentity>
CloudFront origin access identity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CloudFrontOriginAccessIdentity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudFrontOriginAccessIdentity.Builder
builder()
CloudFrontOriginAccessIdentityConfig
cloudFrontOriginAccessIdentityConfig()
The current configuration information for the identity.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
The ID for the origin access identity, for example,E74FTE3AJFJ256A
.String
s3CanonicalUserId()
The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends CloudFrontOriginAccessIdentity.Builder>
serializableBuilderClass()
CloudFrontOriginAccessIdentity.Builder
toBuilder()
String
toString()
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, used 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, used when giving the origin access identity read permission to an object in Amazon S3.
-
cloudFrontOriginAccessIdentityConfig
public final CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig()
The current configuration information for the identity.
- Returns:
- The current configuration information for the identity.
-
toBuilder
public CloudFrontOriginAccessIdentity.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CloudFrontOriginAccessIdentity.Builder,CloudFrontOriginAccessIdentity>
-
builder
public static CloudFrontOriginAccessIdentity.Builder builder()
-
serializableBuilderClass
public static Class<? extends CloudFrontOriginAccessIdentity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-