Class AssociatedRole
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.AssociatedRole
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AssociatedRole.Builder,AssociatedRole>
@Generated("software.amazon.awssdk:codegen") public final class AssociatedRole extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssociatedRole.Builder,AssociatedRole>
Information about the associated IAM roles.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AssociatedRole.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
associatedRoleArn()
The ARN of the associated IAM role.static AssociatedRole.Builder
builder()
String
certificateS3BucketName()
The name of the Amazon S3 bucket in which the Amazon S3 object is stored.String
certificateS3ObjectKey()
The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key bundle is stored.String
encryptionKmsKeyId()
The ID of the KMS customer master key (CMK) used to encrypt the private key.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends AssociatedRole.Builder>
serializableBuilderClass()
AssociatedRole.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
-
associatedRoleArn
public final String associatedRoleArn()
The ARN of the associated IAM role.
- Returns:
- The ARN of the associated IAM role.
-
certificateS3BucketName
public final String certificateS3BucketName()
The name of the Amazon S3 bucket in which the Amazon S3 object is stored.
- Returns:
- The name of the Amazon S3 bucket in which the Amazon S3 object is stored.
-
certificateS3ObjectKey
public final String certificateS3ObjectKey()
The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key bundle is stored. The object key is formated as follows:
role_arn
/certificate_arn
.- Returns:
- The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key
bundle is stored. The object key is formated as follows:
role_arn
/certificate_arn
.
-
encryptionKmsKeyId
public final String encryptionKmsKeyId()
The ID of the KMS customer master key (CMK) used to encrypt the private key.
- Returns:
- The ID of the KMS customer master key (CMK) used to encrypt the private key.
-
toBuilder
public AssociatedRole.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AssociatedRole.Builder,AssociatedRole>
-
builder
public static AssociatedRole.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociatedRole.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.
-
-