Interface FailedAssociationResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FailedAssociationResult.Builder,
,FailedAssociationResult> SdkBuilder<FailedAssociationResult.Builder,
,FailedAssociationResult> SdkPojo
- Enclosing class:
FailedAssociationResult
@Mutable
@NotThreadSafe
public static interface FailedAssociationResult.Builder
extends SdkPojo, CopyableBuilder<FailedAssociationResult.Builder,FailedAssociationResult>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FailedAssociationResult.Builder
resource
(Consumer<CodeSecurityResource.Builder> resource) Sets the value of the Resource property for this object.resource
(CodeSecurityResource resource) Sets the value of the Resource property for this object.scanConfigurationArn
(String scanConfigurationArn) The Amazon Resource Name (ARN) of the scan configuration that failed to be associated or disassociated.statusCode
(String statusCodeValue) The status code indicating why the association or disassociation failed.statusCode
(AssociationResultStatusCode statusCodeValue) The status code indicating why the association or disassociation failed.statusMessage
(String statusMessage) A message explaining why the association or disassociation failed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resource
Sets the value of the Resource property for this object.- Parameters:
resource
- The new value for the Resource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
Sets the value of the Resource property for this object. This is a convenience method that creates an instance of theCodeSecurityResource.Builder
avoiding the need to create one manually viaCodeSecurityResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresource(CodeSecurityResource)
.- Parameters:
resource
- a consumer that will call methods onCodeSecurityResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanConfigurationArn
The Amazon Resource Name (ARN) of the scan configuration that failed to be associated or disassociated.
- Parameters:
scanConfigurationArn
- The Amazon Resource Name (ARN) of the scan configuration that failed to be associated or disassociated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
The status code indicating why the association or disassociation failed.
- Parameters:
statusCodeValue
- The status code indicating why the association or disassociation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
The status code indicating why the association or disassociation failed.
- Parameters:
statusCodeValue
- The status code indicating why the association or disassociation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
A message explaining why the association or disassociation failed.
- Parameters:
statusMessage
- A message explaining why the association or disassociation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-