Interface GetCodeSecurityIntegrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCodeSecurityIntegrationResponse.Builder,,GetCodeSecurityIntegrationResponse> Inspector2Response.Builder,SdkBuilder<GetCodeSecurityIntegrationResponse.Builder,,GetCodeSecurityIntegrationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCodeSecurityIntegrationResponse
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationUrl(String authorizationUrl) The URL used to authorize the integration with the repository provider.The timestamp when the code security integration was created.instanceUrl(String instanceUrl) The URL of the self-managed GitLab or GitHub Enterprise Server instance associated with the integration.integrationArn(String integrationArn) The Amazon Resource Name (ARN) of the code security integration.lastUpdateOn(Instant lastUpdateOn) The timestamp when the code security integration was last updated.The name of the code security integration.The current status of the code security integration.status(IntegrationStatus status) The current status of the code security integration.statusReason(String statusReason) The reason for the current status of the code security integration.The tags associated with the code security integration.The type of repository provider for the integration.type(IntegrationType type) The type of repository provider for the integration.vpcConfiguration(Consumer<CodeSecurityIntegrationVpcConfiguration.Builder> vpcConfiguration) The VPC configuration associated with the integration, if it connects to a repository provider in a private network.vpcConfiguration(CodeSecurityIntegrationVpcConfiguration vpcConfiguration) The VPC configuration associated with the integration, if it connects to a repository provider in a private network.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
integrationArn
The Amazon Resource Name (ARN) of the code security integration.
- Parameters:
integrationArn- The Amazon Resource Name (ARN) of the code security integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the code security integration.
- Parameters:
name- The name of the code security integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of repository provider for the integration.
- Parameters:
type- The type of repository provider for the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of repository provider for the integration.
- Parameters:
type- The type of repository provider for the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the code security integration.
- Parameters:
status- The current status of the code security integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the code security integration.
- Parameters:
status- The current status of the code security integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
The reason for the current status of the code security integration.
- Parameters:
statusReason- The reason for the current status of the code security integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdOn
The timestamp when the code security integration was created.
- Parameters:
createdOn- The timestamp when the code security integration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateOn
The timestamp when the code security integration was last updated.
- Parameters:
lastUpdateOn- The timestamp when the code security integration was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationUrl
The URL used to authorize the integration with the repository provider. This is only returned if reauthorization is required to fix a connection issue. Otherwise, it is null.
- Parameters:
authorizationUrl- The URL used to authorize the integration with the repository provider. This is only returned if reauthorization is required to fix a connection issue. Otherwise, it is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
GetCodeSecurityIntegrationResponse.Builder vpcConfiguration(CodeSecurityIntegrationVpcConfiguration vpcConfiguration) The VPC configuration associated with the integration, if it connects to a repository provider in a private network.
- Parameters:
vpcConfiguration- The VPC configuration associated with the integration, if it connects to a repository provider in a private network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default GetCodeSecurityIntegrationResponse.Builder vpcConfiguration(Consumer<CodeSecurityIntegrationVpcConfiguration.Builder> vpcConfiguration) The VPC configuration associated with the integration, if it connects to a repository provider in a private network.
This is a convenience method that creates an instance of theCodeSecurityIntegrationVpcConfiguration.Builderavoiding the need to create one manually viaCodeSecurityIntegrationVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(CodeSecurityIntegrationVpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onCodeSecurityIntegrationVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceUrl
The URL of the self-managed GitLab or GitHub Enterprise Server instance associated with the integration.
- Parameters:
instanceUrl- The URL of the self-managed GitLab or GitHub Enterprise Server instance associated with the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the code security integration.
- Parameters:
tags- The tags associated with the code security integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-