@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAppAuthorizationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAppAuthorizationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAppAuthorizationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApp()
The name of the application.
|
String |
getAppBundleIdentifier()
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
|
String |
getAuthType()
The authorization type for the app authorization.
|
String |
getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
Credential |
getCredential()
Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
|
List<Tag> |
getTags()
A map of the key-value pairs of the tag or tags to assign to the resource.
|
Tenant |
getTenant()
Contains information about an application tenant, such as the application display name and identifier.
|
int |
hashCode() |
void |
setApp(String app)
The name of the application.
|
void |
setAppBundleIdentifier(String appBundleIdentifier)
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
|
void |
setAuthType(String authType)
The authorization type for the app authorization.
|
void |
setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setCredential(Credential credential)
Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
|
void |
setTags(Collection<Tag> tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
|
void |
setTenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
|
String |
toString()
Returns a string representation of this object.
|
CreateAppAuthorizationRequest |
withApp(String app)
The name of the application.
|
CreateAppAuthorizationRequest |
withAppBundleIdentifier(String appBundleIdentifier)
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
|
CreateAppAuthorizationRequest |
withAuthType(AuthType authType)
The authorization type for the app authorization.
|
CreateAppAuthorizationRequest |
withAuthType(String authType)
The authorization type for the app authorization.
|
CreateAppAuthorizationRequest |
withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateAppAuthorizationRequest |
withCredential(Credential credential)
Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
|
CreateAppAuthorizationRequest |
withTags(Collection<Tag> tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
|
CreateAppAuthorizationRequest |
withTags(Tag... tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
|
CreateAppAuthorizationRequest |
withTenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
|
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 setAppBundleIdentifier(String appBundleIdentifier)
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
appBundleIdentifier
- The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the
request.public String getAppBundleIdentifier()
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
public CreateAppAuthorizationRequest withAppBundleIdentifier(String appBundleIdentifier)
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
appBundleIdentifier
- The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the
request.public void setApp(String app)
The name of the application.
Valid values are:
SLACK
ASANA
JIRA
M365
M365AUDITLOGS
ZOOM
ZENDESK
OKTA
GOOGLE
DROPBOX
SMARTSHEET
CISCO
app
- The name of the application.
Valid values are:
SLACK
ASANA
JIRA
M365
M365AUDITLOGS
ZOOM
ZENDESK
OKTA
GOOGLE
DROPBOX
SMARTSHEET
CISCO
public String getApp()
The name of the application.
Valid values are:
SLACK
ASANA
JIRA
M365
M365AUDITLOGS
ZOOM
ZENDESK
OKTA
GOOGLE
DROPBOX
SMARTSHEET
CISCO
Valid values are:
SLACK
ASANA
JIRA
M365
M365AUDITLOGS
ZOOM
ZENDESK
OKTA
GOOGLE
DROPBOX
SMARTSHEET
CISCO
public CreateAppAuthorizationRequest withApp(String app)
The name of the application.
Valid values are:
SLACK
ASANA
JIRA
M365
M365AUDITLOGS
ZOOM
ZENDESK
OKTA
GOOGLE
DROPBOX
SMARTSHEET
CISCO
app
- The name of the application.
Valid values are:
SLACK
ASANA
JIRA
M365
M365AUDITLOGS
ZOOM
ZENDESK
OKTA
GOOGLE
DROPBOX
SMARTSHEET
CISCO
public void setCredential(Credential credential)
Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
Specify credentials that match the authorization type for your request. For example, if the authorization type
for your request is OAuth2 (oauth2
), then you should provide only the OAuth2 credentials.
credential
- Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
Specify credentials that match the authorization type for your request. For example, if the authorization
type for your request is OAuth2 (oauth2
), then you should provide only the OAuth2
credentials.
public Credential getCredential()
Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
Specify credentials that match the authorization type for your request. For example, if the authorization type
for your request is OAuth2 (oauth2
), then you should provide only the OAuth2 credentials.
Specify credentials that match the authorization type for your request. For example, if the authorization
type for your request is OAuth2 (oauth2
), then you should provide only the OAuth2
credentials.
public CreateAppAuthorizationRequest withCredential(Credential credential)
Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
Specify credentials that match the authorization type for your request. For example, if the authorization type
for your request is OAuth2 (oauth2
), then you should provide only the OAuth2 credentials.
credential
- Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
Specify credentials that match the authorization type for your request. For example, if the authorization
type for your request is OAuth2 (oauth2
), then you should provide only the OAuth2
credentials.
public void setTenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
tenant
- Contains information about an application tenant, such as the application display name and identifier.public Tenant getTenant()
Contains information about an application tenant, such as the application display name and identifier.
public CreateAppAuthorizationRequest withTenant(Tenant tenant)
Contains information about an application tenant, such as the application display name and identifier.
tenant
- Contains information about an application tenant, such as the application display name and identifier.public void setAuthType(String authType)
The authorization type for the app authorization.
authType
- The authorization type for the app authorization.AuthType
public String getAuthType()
The authorization type for the app authorization.
AuthType
public CreateAppAuthorizationRequest withAuthType(String authType)
The authorization type for the app authorization.
authType
- The authorization type for the app authorization.AuthType
public CreateAppAuthorizationRequest withAuthType(AuthType authType)
The authorization type for the app authorization.
authType
- The authorization type for the app authorization.AuthType
public void setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails
with an IdempotentParameterMismatch
error.
clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the
retry fails with an IdempotentParameterMismatch
error.
public String getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails
with an IdempotentParameterMismatch
error.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the
retry fails with an IdempotentParameterMismatch
error.
public CreateAppAuthorizationRequest withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails
with an IdempotentParameterMismatch
error.
clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the
retry fails with an IdempotentParameterMismatch
error.
public List<Tag> getTags()
A map of the key-value pairs of the tag or tags to assign to the resource.
public void setTags(Collection<Tag> tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
tags
- A map of the key-value pairs of the tag or tags to assign to the resource.public CreateAppAuthorizationRequest withTags(Tag... tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A map of the key-value pairs of the tag or tags to assign to the resource.public CreateAppAuthorizationRequest withTags(Collection<Tag> tags)
A map of the key-value pairs of the tag or tags to assign to the resource.
tags
- A map of the key-value pairs of the tag or tags to assign to the resource.public String toString()
toString
in class Object
Object.toString()
public CreateAppAuthorizationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()