Interface Environment.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Environment.Builder,,- Environment> - SdkBuilder<Environment.Builder,,- Environment> - SdkPojo
- Enclosing class:
- Environment
- 
Method SummaryModifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the environment.connectionType(String connectionType) The connection type used for connecting to an Amazon EC2 environment.connectionType(ConnectionType connectionType) The connection type used for connecting to an Amazon EC2 environment.description(String description) The description for the environment.The ID of the environment.default Environment.Builderlifecycle(Consumer<EnvironmentLifecycle.Builder> lifecycle) The state of the environment in its creation or deletion lifecycle.lifecycle(EnvironmentLifecycle lifecycle) The state of the environment in its creation or deletion lifecycle.managedCredentialsStatus(String managedCredentialsStatus) Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.managedCredentialsStatus(ManagedCredentialsStatus managedCredentialsStatus) Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.The name of the environment.The Amazon Resource Name (ARN) of the environment owner.The type of environment.type(EnvironmentType type) The type of environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
idThe ID of the environment. - Parameters:
- id- The ID of the environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe name of the environment. - Parameters:
- name- The name of the environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe description for the environment. - Parameters:
- description- The description for the environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
typeThe type of environment. Valid values include the following: - 
 ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
- 
 ssh: Your own server connects to the environment.
 - Parameters:
- type- The type of environment. Valid values include the following:- 
        ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
- 
        ssh: Your own server connects to the environment.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
typeThe type of environment. Valid values include the following: - 
 ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
- 
 ssh: Your own server connects to the environment.
 - Parameters:
- type- The type of environment. Valid values include the following:- 
        ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
- 
        ssh: Your own server connects to the environment.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
connectionTypeThe connection type used for connecting to an Amazon EC2 environment. CONNECT_SSHis selected by default.- Parameters:
- connectionType- The connection type used for connecting to an Amazon EC2 environment.- CONNECT_SSHis selected by default.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
connectionTypeThe connection type used for connecting to an Amazon EC2 environment. CONNECT_SSHis selected by default.- Parameters:
- connectionType- The connection type used for connecting to an Amazon EC2 environment.- CONNECT_SSHis selected by default.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
arnThe Amazon Resource Name (ARN) of the environment. - Parameters:
- arn- The Amazon Resource Name (ARN) of the environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ownerArnThe Amazon Resource Name (ARN) of the environment owner. - Parameters:
- ownerArn- The Amazon Resource Name (ARN) of the environment owner.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lifecycleThe state of the environment in its creation or deletion lifecycle. - Parameters:
- lifecycle- The state of the environment in its creation or deletion lifecycle.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lifecycleThe state of the environment in its creation or deletion lifecycle. This is a convenience method that creates an instance of theEnvironmentLifecycle.Builderavoiding the need to create one manually viaEnvironmentLifecycle.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifecycle(EnvironmentLifecycle).- Parameters:
- lifecycle- a consumer that will call methods on- EnvironmentLifecycle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
managedCredentialsStatusDescribes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available values are: - 
 ENABLED_ON_CREATE
- 
 ENABLED_BY_OWNER
- 
 DISABLED_BY_DEFAULT
- 
 DISABLED_BY_OWNER
- 
 DISABLED_BY_COLLABORATOR
- 
 PENDING_REMOVAL_BY_COLLABORATOR
- 
 PENDING_REMOVAL_BY_OWNER
- 
 FAILED_REMOVAL_BY_COLLABORATOR
- 
 ENABLED_BY_OWNER
- 
 DISABLED_BY_DEFAULT
 - Parameters:
- managedCredentialsStatus- Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available values are:- 
        ENABLED_ON_CREATE
- 
        ENABLED_BY_OWNER
- 
        DISABLED_BY_DEFAULT
- 
        DISABLED_BY_OWNER
- 
        DISABLED_BY_COLLABORATOR
- 
        PENDING_REMOVAL_BY_COLLABORATOR
- 
        PENDING_REMOVAL_BY_OWNER
- 
        FAILED_REMOVAL_BY_COLLABORATOR
- 
        ENABLED_BY_OWNER
- 
        DISABLED_BY_DEFAULT
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
managedCredentialsStatusDescribes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available values are: - 
 ENABLED_ON_CREATE
- 
 ENABLED_BY_OWNER
- 
 DISABLED_BY_DEFAULT
- 
 DISABLED_BY_OWNER
- 
 DISABLED_BY_COLLABORATOR
- 
 PENDING_REMOVAL_BY_COLLABORATOR
- 
 PENDING_REMOVAL_BY_OWNER
- 
 FAILED_REMOVAL_BY_COLLABORATOR
- 
 ENABLED_BY_OWNER
- 
 DISABLED_BY_DEFAULT
 - Parameters:
- managedCredentialsStatus- Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available values are:- 
        ENABLED_ON_CREATE
- 
        ENABLED_BY_OWNER
- 
        DISABLED_BY_DEFAULT
- 
        DISABLED_BY_OWNER
- 
        DISABLED_BY_COLLABORATOR
- 
        PENDING_REMOVAL_BY_COLLABORATOR
- 
        PENDING_REMOVAL_BY_OWNER
- 
        FAILED_REMOVAL_BY_COLLABORATOR
- 
        ENABLED_BY_OWNER
- 
        DISABLED_BY_DEFAULT
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
 
-