Class UpdateEnvironmentAccountConnectionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.proton.model.ProtonRequest
-
- software.amazon.awssdk.services.proton.model.UpdateEnvironmentAccountConnectionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateEnvironmentAccountConnectionRequest.Builder,UpdateEnvironmentAccountConnectionRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateEnvironmentAccountConnectionRequest extends ProtonRequest implements ToCopyableBuilder<UpdateEnvironmentAccountConnectionRequest.Builder,UpdateEnvironmentAccountConnectionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateEnvironmentAccountConnectionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateEnvironmentAccountConnectionRequest.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.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the environment account connection to update.StringroleArn()The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.List<SdkField<?>>sdkFields()static Class<? extends UpdateEnvironmentAccountConnectionRequest.Builder>serializableBuilderClass()UpdateEnvironmentAccountConnectionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
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.
-
id
public final String id()
The ID of the environment account connection to update.
- Returns:
- The ID of the environment account connection to update.
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.
- Returns:
- The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.
-
toBuilder
public UpdateEnvironmentAccountConnectionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateEnvironmentAccountConnectionRequest.Builder,UpdateEnvironmentAccountConnectionRequest>- Specified by:
toBuilderin classProtonRequest
-
builder
public static UpdateEnvironmentAccountConnectionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateEnvironmentAccountConnectionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-