@Generated(value="software.amazon.awssdk:codegen") public final class CreateEnvironmentAccountConnectionRequest extends ProtonRequest implements ToCopyableBuilder<CreateEnvironmentAccountConnectionRequest.Builder,CreateEnvironmentAccountConnectionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateEnvironmentAccountConnectionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateEnvironmentAccountConnectionRequest.Builder |
builder() |
String |
clientToken()
When included, if two identical requests are made with the same client token, Proton returns the environment
account connection that the first request created.
|
String |
codebuildRoleArn()
The Amazon Resource Name (ARN) of an IAM service role in the environment account.
|
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.
|
String |
environmentName()
The name of the Proton environment that's created in the associated management account.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
managementAccountId()
The ID of the management account that accepts or rejects the environment account connection.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateEnvironmentAccountConnectionRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
An optional list of metadata items that you can associate with the Proton environment account connection.
|
CreateEnvironmentAccountConnectionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientToken()
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
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.
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.
You must specify componentRoleArn to allow directly defined components to be associated with any
environments running in this account.
For more information about components, see Proton components in the Proton User Guide.
You must specify componentRoleArn to allow directly defined components to be associated with
any environments running in this account.
For more information about components, see Proton components in the Proton User Guide.
public final String environmentName()
The name of the Proton environment that's created in the associated management account.
public final String managementAccountId()
The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateEnvironmentAccountConnectionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateEnvironmentAccountConnectionRequest.Builder,CreateEnvironmentAccountConnectionRequest>toBuilder in class ProtonRequestpublic static CreateEnvironmentAccountConnectionRequest.Builder builder()
public static Class<? extends CreateEnvironmentAccountConnectionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.