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.Builderresource(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
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
-
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.
-
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.Builderavoiding the need to create one manually viaCodeSecurityResource.builder().When the
Consumercompletes,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:
-
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.
-