public class DeleteSecurityProfileRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes a Device Defender security profile.
| Constructor and Description |
|---|
DeleteSecurityProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getExpectedVersion()
The expected version of the security profile.
|
java.lang.String |
getSecurityProfileName()
The name of the security profile to be deleted.
|
int |
hashCode() |
void |
setExpectedVersion(java.lang.Long expectedVersion)
The expected version of the security profile.
|
void |
setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile to be deleted.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteSecurityProfileRequest |
withExpectedVersion(java.lang.Long expectedVersion)
The expected version of the security profile.
|
DeleteSecurityProfileRequest |
withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile to be deleted.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getSecurityProfileName()
The name of the security profile to be deleted.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the security profile to be deleted.
public void setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile to be deleted.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName - The name of the security profile to be deleted.
public DeleteSecurityProfileRequest withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile to be deleted.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName - The name of the security profile to be deleted.
public java.lang.Long getExpectedVersion()
The expected version of the security profile. A new version is generated
whenever the security profile is updated. If you specify a value that is
different from the actual version, a
VersionConflictException is thrown.
The expected version of the security profile. A new version is
generated whenever the security profile is updated. If you
specify a value that is different from the actual version, a
VersionConflictException is thrown.
public void setExpectedVersion(java.lang.Long expectedVersion)
The expected version of the security profile. A new version is generated
whenever the security profile is updated. If you specify a value that is
different from the actual version, a
VersionConflictException is thrown.
expectedVersion -
The expected version of the security profile. A new version is
generated whenever the security profile is updated. If you
specify a value that is different from the actual version, a
VersionConflictException is thrown.
public DeleteSecurityProfileRequest withExpectedVersion(java.lang.Long expectedVersion)
The expected version of the security profile. A new version is generated
whenever the security profile is updated. If you specify a value that is
different from the actual version, a
VersionConflictException is thrown.
Returns a reference to this object so that method calls can be chained together.
expectedVersion -
The expected version of the security profile. A new version is
generated whenever the security profile is updated. If you
specify a value that is different from the actual version, a
VersionConflictException is thrown.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.