Class EnvironmentAccountConnection
- java.lang.Object
-
- software.amazon.awssdk.services.proton.model.EnvironmentAccountConnection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnvironmentAccountConnection.Builder,EnvironmentAccountConnection>
@Generated("software.amazon.awssdk:codegen") public final class EnvironmentAccountConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentAccountConnection.Builder,EnvironmentAccountConnection>
Detailed data of an Proton environment account connection resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnvironmentAccountConnection.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 EnvironmentAccountConnection.Builderbuilder()StringcodebuildRoleArn()The Amazon Resource Name (ARN) of an IAM service role in the environment account.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 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 EnvironmentAccountConnection.Builder>serializableBuilderClass()EnvironmentAccountConnectionStatusstatus()The status of the environment account connection.StringstatusAsString()The status of the environment account connection.EnvironmentAccountConnection.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.
-
codebuildRoleArn
public final String codebuildRoleArn()
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- Returns:
- The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
-
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 environment account that's connected to the environment account connection.
- Returns:
- 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 EnvironmentAccountConnection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnvironmentAccountConnection.Builder,EnvironmentAccountConnection>
-
builder
public static EnvironmentAccountConnection.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnvironmentAccountConnection.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.
-
-