Interface EnvironmentConnectionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentConnectionSummary.Builder,,EnvironmentConnectionSummary> SdkBuilder<EnvironmentConnectionSummary.Builder,,EnvironmentConnectionSummary> SdkPojo
- Enclosing class:
EnvironmentConnectionSummary
-
Method Summary
Modifier and TypeMethodDescriptionconnectionId(String connectionId) The ID of the connection.connectionType(String connectionType) The type of provider for the connection.connectionType(ConnectionType connectionType) The type of provider for the connection.The timestamp when the connection was created.The configuration of a GitHub connection.github(GitHubConnectionDetails github) The configuration of a GitHub connection.The configuration of an Amazon S3 connection.The configuration of an Amazon S3 connection.sharepoint(Consumer<SharePointConnectionDetails.Builder> sharepoint) The configuration of a SharePoint connection.sharepoint(SharePointConnectionDetails sharepoint) The configuration of a SharePoint connection.The current lifecycle state of the environment connection.status(ConnectionStatus status) The current lifecycle state of the environment connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
connectionType
The type of provider for the connection.
- Parameters:
connectionType- The type of provider for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionType
The type of provider for the connection.
- Parameters:
connectionType- The type of provider for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle state of the environment connection.
- Parameters:
status- The current lifecycle state of the environment connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle state of the environment connection.
- Parameters:
status- The current lifecycle state of the environment connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionId
The ID of the connection. Pass it as
connectionIdtoListConnectionItems,PutEvidence, andDeleteEnvironmentConnection. An environment can have more than one connection to the same provider, and this ID identifies one of them.An Amazon S3 connection doesn't have this value. To identify an Amazon S3 connection, use
s3.sourceUri.- Parameters:
connectionId- The ID of the connection. Pass it asconnectionIdtoListConnectionItems,PutEvidence, andDeleteEnvironmentConnection. An environment can have more than one connection to the same provider, and this ID identifies one of them.An Amazon S3 connection doesn't have this value. To identify an Amazon S3 connection, use
s3.sourceUri.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The configuration of an Amazon S3 connection. Present when
connectionTypeiss3.- Parameters:
s3- The configuration of an Amazon S3 connection. Present whenconnectionTypeiss3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The configuration of an Amazon S3 connection. Present when
This is a convenience method that creates an instance of theconnectionTypeiss3.S3ConnectionDetails.Builderavoiding the need to create one manually viaS3ConnectionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3ConnectionDetails).- Parameters:
s3- a consumer that will call methods onS3ConnectionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
github
The configuration of a GitHub connection. The summary includes this field when
connectionTypeisgithub.- Parameters:
github- The configuration of a GitHub connection. The summary includes this field whenconnectionTypeisgithub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
github
default EnvironmentConnectionSummary.Builder github(Consumer<GitHubConnectionDetails.Builder> github) The configuration of a GitHub connection. The summary includes this field when
This is a convenience method that creates an instance of theconnectionTypeisgithub.GitHubConnectionDetails.Builderavoiding the need to create one manually viaGitHubConnectionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togithub(GitHubConnectionDetails).- Parameters:
github- a consumer that will call methods onGitHubConnectionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the connection was created.
- Parameters:
createdAt- The timestamp when the connection was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-