Interface ResourceScanMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceScanMetadata.Builder,,ResourceScanMetadata> SdkBuilder<ResourceScanMetadata.Builder,,ResourceScanMetadata> SdkPojo
- Enclosing class:
ResourceScanMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceScanMetadata.Builderec2(Consumer<Ec2Metadata.Builder> ec2) An object that contains metadata details for an Amazon EC2 instance.ec2(Ec2Metadata ec2) An object that contains metadata details for an Amazon EC2 instance.default ResourceScanMetadata.BuilderecrImage(Consumer<EcrContainerImageMetadata.Builder> ecrImage) An object that contains details about the container metadata for an Amazon ECR image.ecrImage(EcrContainerImageMetadata ecrImage) An object that contains details about the container metadata for an Amazon ECR image.default ResourceScanMetadata.BuilderecrRepository(Consumer<EcrRepositoryMetadata.Builder> ecrRepository) An object that contains details about the repository an Amazon ECR image resides in.ecrRepository(EcrRepositoryMetadata ecrRepository) An object that contains details about the repository an Amazon ECR image resides in.default ResourceScanMetadata.BuilderlambdaFunction(Consumer<LambdaFunctionMetadata.Builder> lambdaFunction) An object that contains metadata details for an Amazon Web Services Lambda function.lambdaFunction(LambdaFunctionMetadata lambdaFunction) An object that contains metadata details for an Amazon Web Services Lambda function.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, sdkFields
-
Method Details
-
ec2
An object that contains metadata details for an Amazon EC2 instance.
- Parameters:
ec2- An object that contains metadata details for an Amazon EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2
An object that contains metadata details for an Amazon EC2 instance.
This is a convenience method that creates an instance of theEc2Metadata.Builderavoiding the need to create one manually viaEc2Metadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2(Ec2Metadata).- Parameters:
ec2- a consumer that will call methods onEc2Metadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ecrImage
An object that contains details about the container metadata for an Amazon ECR image.
- Parameters:
ecrImage- An object that contains details about the container metadata for an Amazon ECR image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrImage
An object that contains details about the container metadata for an Amazon ECR image.
This is a convenience method that creates an instance of theEcrContainerImageMetadata.Builderavoiding the need to create one manually viaEcrContainerImageMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecrImage(EcrContainerImageMetadata).- Parameters:
ecrImage- a consumer that will call methods onEcrContainerImageMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ecrRepository
An object that contains details about the repository an Amazon ECR image resides in.
- Parameters:
ecrRepository- An object that contains details about the repository an Amazon ECR image resides in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrRepository
default ResourceScanMetadata.Builder ecrRepository(Consumer<EcrRepositoryMetadata.Builder> ecrRepository) An object that contains details about the repository an Amazon ECR image resides in.
This is a convenience method that creates an instance of theEcrRepositoryMetadata.Builderavoiding the need to create one manually viaEcrRepositoryMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecrRepository(EcrRepositoryMetadata).- Parameters:
ecrRepository- a consumer that will call methods onEcrRepositoryMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaFunction
An object that contains metadata details for an Amazon Web Services Lambda function.
- Parameters:
lambdaFunction- An object that contains metadata details for an Amazon Web Services Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaFunction
default ResourceScanMetadata.Builder lambdaFunction(Consumer<LambdaFunctionMetadata.Builder> lambdaFunction) An object that contains metadata details for an Amazon Web Services Lambda function.
This is a convenience method that creates an instance of theLambdaFunctionMetadata.Builderavoiding the need to create one manually viaLambdaFunctionMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaFunction(LambdaFunctionMetadata).- Parameters:
lambdaFunction- a consumer that will call methods onLambdaFunctionMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-