@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetViolationDetailsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetViolationDetailsRequest() |
Modifier and Type | Method and Description |
---|---|
GetViolationDetailsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getMemberAccount()
The AWS account ID that you want the details for.
|
String |
getPolicyId()
The ID of the AWS Firewall Manager policy that you want the details for.
|
String |
getResourceId()
The ID of the resource that has violations.
|
String |
getResourceType()
The resource type.
|
int |
hashCode() |
void |
setMemberAccount(String memberAccount)
The AWS account ID that you want the details for.
|
void |
setPolicyId(String policyId)
The ID of the AWS Firewall Manager policy that you want the details for.
|
void |
setResourceId(String resourceId)
The ID of the resource that has violations.
|
void |
setResourceType(String resourceType)
The resource type.
|
String |
toString()
Returns a string representation of this object.
|
GetViolationDetailsRequest |
withMemberAccount(String memberAccount)
The AWS account ID that you want the details for.
|
GetViolationDetailsRequest |
withPolicyId(String policyId)
The ID of the AWS Firewall Manager policy that you want the details for.
|
GetViolationDetailsRequest |
withResourceId(String resourceId)
The ID of the resource that has violations.
|
GetViolationDetailsRequest |
withResourceType(String resourceType)
The resource type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPolicyId(String policyId)
The ID of the AWS Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.
policyId
- The ID of the AWS Firewall Manager policy that you want the details for. This currently only supports
security group content audit policies.public String getPolicyId()
The ID of the AWS Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.
public GetViolationDetailsRequest withPolicyId(String policyId)
The ID of the AWS Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.
policyId
- The ID of the AWS Firewall Manager policy that you want the details for. This currently only supports
security group content audit policies.public void setMemberAccount(String memberAccount)
The AWS account ID that you want the details for.
memberAccount
- The AWS account ID that you want the details for.public String getMemberAccount()
The AWS account ID that you want the details for.
public GetViolationDetailsRequest withMemberAccount(String memberAccount)
The AWS account ID that you want the details for.
memberAccount
- The AWS account ID that you want the details for.public void setResourceId(String resourceId)
The ID of the resource that has violations.
resourceId
- The ID of the resource that has violations.public String getResourceId()
The ID of the resource that has violations.
public GetViolationDetailsRequest withResourceId(String resourceId)
The ID of the resource that has violations.
resourceId
- The ID of the resource that has violations.public void setResourceType(String resourceType)
The resource type. This is in the format shown in the AWS
Resource Types Reference. Supported resource types are: AWS::EC2::Instance
,
AWS::EC2::NetworkInterface
, AWS::EC2::SecurityGroup
,
AWS::NetworkFirewall::FirewallPolicy
, and AWS::EC2::Subnet
.
resourceType
- The resource type. This is in the format shown in the AWS
Resource Types Reference. Supported resource types are: AWS::EC2::Instance
,
AWS::EC2::NetworkInterface
, AWS::EC2::SecurityGroup
,
AWS::NetworkFirewall::FirewallPolicy
, and AWS::EC2::Subnet
.public String getResourceType()
The resource type. This is in the format shown in the AWS
Resource Types Reference. Supported resource types are: AWS::EC2::Instance
,
AWS::EC2::NetworkInterface
, AWS::EC2::SecurityGroup
,
AWS::NetworkFirewall::FirewallPolicy
, and AWS::EC2::Subnet
.
AWS::EC2::Instance
,
AWS::EC2::NetworkInterface
, AWS::EC2::SecurityGroup
,
AWS::NetworkFirewall::FirewallPolicy
, and AWS::EC2::Subnet
.public GetViolationDetailsRequest withResourceType(String resourceType)
The resource type. This is in the format shown in the AWS
Resource Types Reference. Supported resource types are: AWS::EC2::Instance
,
AWS::EC2::NetworkInterface
, AWS::EC2::SecurityGroup
,
AWS::NetworkFirewall::FirewallPolicy
, and AWS::EC2::Subnet
.
resourceType
- The resource type. This is in the format shown in the AWS
Resource Types Reference. Supported resource types are: AWS::EC2::Instance
,
AWS::EC2::NetworkInterface
, AWS::EC2::SecurityGroup
,
AWS::NetworkFirewall::FirewallPolicy
, and AWS::EC2::Subnet
.public String toString()
toString
in class Object
Object.toString()
public GetViolationDetailsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()