@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsSecurityFindingIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Identifies a finding to update using BatchUpdateFindings
.
Constructor and Description |
---|
AwsSecurityFindingIdentifier() |
Modifier and Type | Method and Description |
---|---|
AwsSecurityFindingIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The identifier of the finding that was specified by the finding provider.
|
String |
getProductArn()
The ARN generated by Security Hub that uniquely identifies a product that generates findings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The identifier of the finding that was specified by the finding provider.
|
void |
setProductArn(String productArn)
The ARN generated by Security Hub that uniquely identifies a product that generates findings.
|
String |
toString()
Returns a string representation of this object.
|
AwsSecurityFindingIdentifier |
withId(String id)
The identifier of the finding that was specified by the finding provider.
|
AwsSecurityFindingIdentifier |
withProductArn(String productArn)
The ARN generated by Security Hub that uniquely identifies a product that generates findings.
|
public void setId(String id)
The identifier of the finding that was specified by the finding provider.
id
- The identifier of the finding that was specified by the finding provider.public String getId()
The identifier of the finding that was specified by the finding provider.
public AwsSecurityFindingIdentifier withId(String id)
The identifier of the finding that was specified by the finding provider.
id
- The identifier of the finding that was specified by the finding provider.public void setProductArn(String productArn)
The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom integration.
productArn
- The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be
the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom
integration.public String getProductArn()
The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom integration.
public AwsSecurityFindingIdentifier withProductArn(String productArn)
The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom integration.
productArn
- The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be
the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom
integration.public String toString()
toString
in class Object
Object.toString()
public AwsSecurityFindingIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.