Interface AwsEc2InstanceViolation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2InstanceViolation.Builder,AwsEc2InstanceViolation>,SdkBuilder<AwsEc2InstanceViolation.Builder,AwsEc2InstanceViolation>,SdkPojo
- Enclosing class:
- AwsEc2InstanceViolation
public static interface AwsEc2InstanceViolation.Builder extends SdkPojo, CopyableBuilder<AwsEc2InstanceViolation.Builder,AwsEc2InstanceViolation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEc2InstanceViolation.BuilderawsEc2NetworkInterfaceViolations(Collection<AwsEc2NetworkInterfaceViolation> awsEc2NetworkInterfaceViolations)Violation detail for network interfaces associated with the EC2 instance.AwsEc2InstanceViolation.BuilderawsEc2NetworkInterfaceViolations(Consumer<AwsEc2NetworkInterfaceViolation.Builder>... awsEc2NetworkInterfaceViolations)Violation detail for network interfaces associated with the EC2 instance.AwsEc2InstanceViolation.BuilderawsEc2NetworkInterfaceViolations(AwsEc2NetworkInterfaceViolation... awsEc2NetworkInterfaceViolations)Violation detail for network interfaces associated with the EC2 instance.AwsEc2InstanceViolation.BuilderviolationTarget(String violationTarget)The resource ID of the EC2 instance.-
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, sdkFields
-
-
-
-
Method Detail
-
violationTarget
AwsEc2InstanceViolation.Builder violationTarget(String violationTarget)
The resource ID of the EC2 instance.
- Parameters:
violationTarget- The resource ID of the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsEc2NetworkInterfaceViolations
AwsEc2InstanceViolation.Builder awsEc2NetworkInterfaceViolations(Collection<AwsEc2NetworkInterfaceViolation> awsEc2NetworkInterfaceViolations)
Violation detail for network interfaces associated with the EC2 instance.
- Parameters:
awsEc2NetworkInterfaceViolations- Violation detail for network interfaces associated with the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsEc2NetworkInterfaceViolations
AwsEc2InstanceViolation.Builder awsEc2NetworkInterfaceViolations(AwsEc2NetworkInterfaceViolation... awsEc2NetworkInterfaceViolations)
Violation detail for network interfaces associated with the EC2 instance.
- Parameters:
awsEc2NetworkInterfaceViolations- Violation detail for network interfaces associated with the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsEc2NetworkInterfaceViolations
AwsEc2InstanceViolation.Builder awsEc2NetworkInterfaceViolations(Consumer<AwsEc2NetworkInterfaceViolation.Builder>... awsEc2NetworkInterfaceViolations)
Violation detail for network interfaces associated with the EC2 instance.
This is a convenience method that creates an instance of theAwsEc2NetworkInterfaceViolation.Builderavoiding the need to create one manually viaAwsEc2NetworkInterfaceViolation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#awsEc2NetworkInterfaceViolations(List.) - Parameters:
awsEc2NetworkInterfaceViolations- a consumer that will call methods onAwsEc2NetworkInterfaceViolation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#awsEc2NetworkInterfaceViolations(java.util.Collection)
-
-