public class SetVaultNotificationsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Provides options to configure notifications that will be sent when specific events happen to a vault.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
accountId
The
AccountId value is the AWS account ID of the account
that owns the vault. |
private java.lang.String |
vaultName
The name of the vault.
|
private VaultNotificationConfig |
vaultNotificationConfig
Provides options for specifying notification configuration.
|
NOOP
Constructor and Description |
---|
SetVaultNotificationsRequest()
Default constructor for SetVaultNotificationsRequest object.
|
SetVaultNotificationsRequest(java.lang.String accountId,
java.lang.String vaultName,
VaultNotificationConfig vaultNotificationConfig)
Constructs a new SetVaultNotificationsRequest object.
|
SetVaultNotificationsRequest(java.lang.String vaultName,
VaultNotificationConfig vaultNotificationConfig)
Constructs a new SetVaultNotificationsRequest object.
|
Modifier and Type | Method and Description |
---|---|
SetVaultNotificationsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccountId()
The
AccountId value is the AWS account ID of the account
that owns the vault. |
java.lang.String |
getVaultName()
The name of the vault.
|
VaultNotificationConfig |
getVaultNotificationConfig()
Provides options for specifying notification configuration.
|
int |
hashCode() |
void |
setAccountId(java.lang.String accountId)
The
AccountId value is the AWS account ID of the account
that owns the vault. |
void |
setVaultName(java.lang.String vaultName)
The name of the vault.
|
void |
setVaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig)
Provides options for specifying notification configuration.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetVaultNotificationsRequest |
withAccountId(java.lang.String accountId)
The
AccountId value is the AWS account ID of the account
that owns the vault. |
SetVaultNotificationsRequest |
withVaultName(java.lang.String vaultName)
The name of the vault.
|
SetVaultNotificationsRequest |
withVaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig)
Provides options for specifying notification configuration.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String accountId
The AccountId
value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single apos-
apos (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used to
sign the request. If you use an account ID, do not include any hyphens
(apos-apos) in the ID.
private java.lang.String vaultName
The name of the vault.
private VaultNotificationConfig vaultNotificationConfig
Provides options for specifying notification configuration.
public SetVaultNotificationsRequest()
public SetVaultNotificationsRequest(java.lang.String vaultName, VaultNotificationConfig vaultNotificationConfig)
vaultName
- The name of the vault.vaultNotificationConfig
- Provides options for specifying notification configuration.public SetVaultNotificationsRequest(java.lang.String accountId, java.lang.String vaultName, VaultNotificationConfig vaultNotificationConfig)
accountId
- The AccountId
value is the AWS account ID of the
account that owns the vault. You can either specify an AWS account
ID or optionally a single apos-
apos (hyphen), in
which case Amazon Glacier uses the AWS account ID associated with
the credentials used to sign the request. If you use an account
ID, do not include any hyphens (apos-apos) in the ID.vaultName
- The name of the vault.vaultNotificationConfig
- Provides options for specifying notification configuration.public void setAccountId(java.lang.String accountId)
The AccountId
value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single apos-
apos (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used to
sign the request. If you use an account ID, do not include any hyphens
(apos-apos) in the ID.
accountId
- The AccountId
value is the AWS account ID of the
account that owns the vault. You can either specify an AWS account
ID or optionally a single apos-
apos (hyphen), in
which case Amazon Glacier uses the AWS account ID associated with
the credentials used to sign the request. If you use an account
ID, do not include any hyphens (apos-apos) in the ID.public java.lang.String getAccountId()
The AccountId
value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single apos-
apos (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used to
sign the request. If you use an account ID, do not include any hyphens
(apos-apos) in the ID.
AccountId
value is the AWS account ID of the
account that owns the vault. You can either specify an AWS
account ID or optionally a single apos-
apos
(hyphen), in which case Amazon Glacier uses the AWS account ID
associated with the credentials used to sign the request. If you
use an account ID, do not include any hyphens (apos-apos) in the
ID.public SetVaultNotificationsRequest withAccountId(java.lang.String accountId)
The AccountId
value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single apos-
apos (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used to
sign the request. If you use an account ID, do not include any hyphens
(apos-apos) in the ID.
accountId
- The AccountId
value is the AWS account ID of the
account that owns the vault. You can either specify an AWS account
ID or optionally a single apos-
apos (hyphen), in
which case Amazon Glacier uses the AWS account ID associated with
the credentials used to sign the request. If you use an account
ID, do not include any hyphens (apos-apos) in the ID.public void setVaultName(java.lang.String vaultName)
The name of the vault.
vaultName
- The name of the vault.public java.lang.String getVaultName()
The name of the vault.
public SetVaultNotificationsRequest withVaultName(java.lang.String vaultName)
The name of the vault.
vaultName
- The name of the vault.public void setVaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig)
Provides options for specifying notification configuration.
vaultNotificationConfig
- Provides options for specifying notification configuration.public VaultNotificationConfig getVaultNotificationConfig()
Provides options for specifying notification configuration.
public SetVaultNotificationsRequest withVaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig)
Provides options for specifying notification configuration.
vaultNotificationConfig
- Provides options for specifying notification configuration.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SetVaultNotificationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()