Interface ResourceData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceData.Builder,ResourceData>,SdkBuilder<ResourceData.Builder,ResourceData>,SdkPojo
- Enclosing class:
- ResourceData
public static interface ResourceData.Builder extends SdkPojo, CopyableBuilder<ResourceData.Builder,ResourceData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResourceData.BuilderaccessKey(Consumer<AccessKey.Builder> accessKey)Contains information about the IAM access key details of a user that involved in the GuardDuty finding.ResourceData.BuilderaccessKey(AccessKey accessKey)Contains information about the IAM access key details of a user that involved in the GuardDuty finding.default ResourceData.Builderec2Instance(Consumer<Ec2Instance.Builder> ec2Instance)Contains information about the Amazon EC2 instance.ResourceData.Builderec2Instance(Ec2Instance ec2Instance)Contains information about the Amazon EC2 instance.default ResourceData.Builderec2NetworkInterface(Consumer<Ec2NetworkInterface.Builder> ec2NetworkInterface)Contains information about the elastic network interface of the Amazon EC2 instance.ResourceData.Builderec2NetworkInterface(Ec2NetworkInterface ec2NetworkInterface)Contains information about the elastic network interface of the Amazon EC2 instance.default ResourceData.Builders3Bucket(Consumer<S3Bucket.Builder> s3Bucket)Contains information about the Amazon S3 bucket.ResourceData.Builders3Bucket(S3Bucket s3Bucket)Contains information about the Amazon S3 bucket.default ResourceData.Builders3Object(Consumer<S3Object.Builder> s3Object)Contains information about the Amazon S3 object.ResourceData.Builders3Object(S3Object s3Object)Contains information about the Amazon S3 object.-
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 Detail
-
s3Bucket
ResourceData.Builder s3Bucket(S3Bucket s3Bucket)
Contains information about the Amazon S3 bucket.
- Parameters:
s3Bucket- Contains information about the Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
default ResourceData.Builder s3Bucket(Consumer<S3Bucket.Builder> s3Bucket)
Contains information about the Amazon S3 bucket.
This is a convenience method that creates an instance of theS3Bucket.Builderavoiding the need to create one manually viaS3Bucket.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Bucket(S3Bucket).- Parameters:
s3Bucket- a consumer that will call methods onS3Bucket.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Bucket(S3Bucket)
-
ec2Instance
ResourceData.Builder ec2Instance(Ec2Instance ec2Instance)
Contains information about the Amazon EC2 instance.
- Parameters:
ec2Instance- Contains information about the Amazon EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Instance
default ResourceData.Builder ec2Instance(Consumer<Ec2Instance.Builder> ec2Instance)
Contains information about the Amazon EC2 instance.
This is a convenience method that creates an instance of theEc2Instance.Builderavoiding the need to create one manually viaEc2Instance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2Instance(Ec2Instance).- Parameters:
ec2Instance- a consumer that will call methods onEc2Instance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ec2Instance(Ec2Instance)
-
accessKey
ResourceData.Builder accessKey(AccessKey accessKey)
Contains information about the IAM access key details of a user that involved in the GuardDuty finding.
- Parameters:
accessKey- Contains information about the IAM access key details of a user that involved in the GuardDuty finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKey
default ResourceData.Builder accessKey(Consumer<AccessKey.Builder> accessKey)
Contains information about the IAM access key details of a user that involved in the GuardDuty finding.
This is a convenience method that creates an instance of theAccessKey.Builderavoiding the need to create one manually viaAccessKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessKey(AccessKey).- Parameters:
accessKey- a consumer that will call methods onAccessKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accessKey(AccessKey)
-
ec2NetworkInterface
ResourceData.Builder ec2NetworkInterface(Ec2NetworkInterface ec2NetworkInterface)
Contains information about the elastic network interface of the Amazon EC2 instance.
- Parameters:
ec2NetworkInterface- Contains information about the elastic network interface of the Amazon EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2NetworkInterface
default ResourceData.Builder ec2NetworkInterface(Consumer<Ec2NetworkInterface.Builder> ec2NetworkInterface)
Contains information about the elastic network interface of the Amazon EC2 instance.
This is a convenience method that creates an instance of theEc2NetworkInterface.Builderavoiding the need to create one manually viaEc2NetworkInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2NetworkInterface(Ec2NetworkInterface).- Parameters:
ec2NetworkInterface- a consumer that will call methods onEc2NetworkInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ec2NetworkInterface(Ec2NetworkInterface)
-
s3Object
ResourceData.Builder s3Object(S3Object s3Object)
Contains information about the Amazon S3 object.
- Parameters:
s3Object- Contains information about the Amazon S3 object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Object
default ResourceData.Builder s3Object(Consumer<S3Object.Builder> s3Object)
Contains information about the Amazon S3 object.
This is a convenience method that creates an instance of theS3Object.Builderavoiding the need to create one manually viaS3Object.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Object(S3Object).- Parameters:
s3Object- a consumer that will call methods onS3Object.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Object(S3Object)
-
-