Interface NetworkFirewallPolicyModifiedViolation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkFirewallPolicyModifiedViolation.Builder,,NetworkFirewallPolicyModifiedViolation> SdkBuilder<NetworkFirewallPolicyModifiedViolation.Builder,,NetworkFirewallPolicyModifiedViolation> SdkPojo
- Enclosing class:
NetworkFirewallPolicyModifiedViolation
public static interface NetworkFirewallPolicyModifiedViolation.Builder
extends SdkPojo, CopyableBuilder<NetworkFirewallPolicyModifiedViolation.Builder,NetworkFirewallPolicyModifiedViolation>
-
Method Summary
Modifier and TypeMethodDescriptioncurrentPolicyDescription(Consumer<NetworkFirewallPolicyDescription.Builder> currentPolicyDescription) The policy that's currently in use in the individual account.currentPolicyDescription(NetworkFirewallPolicyDescription currentPolicyDescription) The policy that's currently in use in the individual account.expectedPolicyDescription(Consumer<NetworkFirewallPolicyDescription.Builder> expectedPolicyDescription) The policy that should be in use in the individual account in order to be compliant.expectedPolicyDescription(NetworkFirewallPolicyDescription expectedPolicyDescription) The policy that should be in use in the individual account in order to be compliant.violationTarget(String violationTarget) The ID of the Network Firewall or VPC resource that's in violation.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
-
violationTarget
The ID of the Network Firewall or VPC resource that's in violation.
- Parameters:
violationTarget- The ID of the Network Firewall or VPC resource that's in violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPolicyDescription
NetworkFirewallPolicyModifiedViolation.Builder currentPolicyDescription(NetworkFirewallPolicyDescription currentPolicyDescription) The policy that's currently in use in the individual account.
- Parameters:
currentPolicyDescription- The policy that's currently in use in the individual account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPolicyDescription
default NetworkFirewallPolicyModifiedViolation.Builder currentPolicyDescription(Consumer<NetworkFirewallPolicyDescription.Builder> currentPolicyDescription) The policy that's currently in use in the individual account.
This is a convenience method that creates an instance of theNetworkFirewallPolicyDescription.Builderavoiding the need to create one manually viaNetworkFirewallPolicyDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentPolicyDescription(NetworkFirewallPolicyDescription).- Parameters:
currentPolicyDescription- a consumer that will call methods onNetworkFirewallPolicyDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expectedPolicyDescription
NetworkFirewallPolicyModifiedViolation.Builder expectedPolicyDescription(NetworkFirewallPolicyDescription expectedPolicyDescription) The policy that should be in use in the individual account in order to be compliant.
- Parameters:
expectedPolicyDescription- The policy that should be in use in the individual account in order to be compliant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedPolicyDescription
default NetworkFirewallPolicyModifiedViolation.Builder expectedPolicyDescription(Consumer<NetworkFirewallPolicyDescription.Builder> expectedPolicyDescription) The policy that should be in use in the individual account in order to be compliant.
This is a convenience method that creates an instance of theNetworkFirewallPolicyDescription.Builderavoiding the need to create one manually viaNetworkFirewallPolicyDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexpectedPolicyDescription(NetworkFirewallPolicyDescription).- Parameters:
expectedPolicyDescription- a consumer that will call methods onNetworkFirewallPolicyDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-