Class EnvironmentAccountConnectionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.proton.model.EnvironmentAccountConnectionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnvironmentAccountConnectionSummary.Builder,EnvironmentAccountConnectionSummary>
@Generated("software.amazon.awssdk:codegen") public final class EnvironmentAccountConnectionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentAccountConnectionSummary.Builder,EnvironmentAccountConnectionSummary>
Summary data of an Proton environment account connection resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnvironmentAccountConnectionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the environment account connection.static EnvironmentAccountConnectionSummary.Builderbuilder()StringcomponentRoleArn()The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account.StringenvironmentAccountId()The ID of the environment account that's connected to the environment account connection.StringenvironmentName()The name of the environment that's associated with the environment account connection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the environment account connection.InstantlastModifiedAt()The time when the environment account connection was last modified.StringmanagementAccountId()The ID of the management account that's connected to the environment account connection.InstantrequestedAt()The time when the environment account connection request was made.StringroleArn()The IAM service role that's associated with the environment account connection.List<SdkField<?>>sdkFields()static Class<? extends EnvironmentAccountConnectionSummary.Builder>serializableBuilderClass()EnvironmentAccountConnectionStatusstatus()The status of the environment account connection.StringstatusAsString()The status of the environment account connection.EnvironmentAccountConnectionSummary.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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the environment account connection.
- Returns:
- The Amazon Resource Name (ARN) of the environment account connection.
-
componentRoleArn
public final String componentRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a
componentRoleArnto allow directly defined components to be associated with any environments running in the account.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly
defined components in the associated environment account. It determines the scope of infrastructure that
a component can provision in the account.
The environment account connection must have a
componentRoleArnto allow directly defined components to be associated with any environments running in the account.For more information about components, see Proton components in the Proton User Guide.
-
environmentAccountId
public final String environmentAccountId()
The ID of the environment account that's connected to the environment account connection.
- Returns:
- The ID of the environment account that's connected to the environment account connection.
-
environmentName
public final String environmentName()
The name of the environment that's associated with the environment account connection.
- Returns:
- The name of the environment that's associated with the environment account connection.
-
id
public final String id()
The ID of the environment account connection.
- Returns:
- The ID of the environment account connection.
-
lastModifiedAt
public final Instant lastModifiedAt()
The time when the environment account connection was last modified.
- Returns:
- The time when the environment account connection was last modified.
-
managementAccountId
public final String managementAccountId()
The ID of the management account that's connected to the environment account connection.
- Returns:
- The ID of the management account that's connected to the environment account connection.
-
requestedAt
public final Instant requestedAt()
The time when the environment account connection request was made.
- Returns:
- The time when the environment account connection request was made.
-
roleArn
public final String roleArn()
The IAM service role that's associated with the environment account connection.
- Returns:
- The IAM service role that's associated with the environment account connection.
-
status
public final EnvironmentAccountConnectionStatus status()
The status of the environment account connection.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEnvironmentAccountConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the environment account connection.
- See Also:
EnvironmentAccountConnectionStatus
-
statusAsString
public final String statusAsString()
The status of the environment account connection.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEnvironmentAccountConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the environment account connection.
- See Also:
EnvironmentAccountConnectionStatus
-
toBuilder
public EnvironmentAccountConnectionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnvironmentAccountConnectionSummary.Builder,EnvironmentAccountConnectionSummary>
-
builder
public static EnvironmentAccountConnectionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnvironmentAccountConnectionSummary.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.
-
-