public class SetUICustomizationRequest extends AmazonWebServiceRequest implements Serializable
Sets the UI customization information for a user pool's built-in app UI.
You can specify app UI customization settings for a single client (with a
specific clientId) or for all clients (by setting the
clientId to ALL). If you specify ALL,
the default configuration will be used for every client that has no UI
customization set previously. If you specify UI customization settings for a
particular client, it will no longer fall back to the ALL
configuration.
To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error.
| Constructor and Description |
|---|
SetUICustomizationRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClientId()
The client ID for the client app.
|
String |
getCSS()
The CSS values in the UI customization.
|
ByteBuffer |
getImageFile()
The uploaded logo image for the UI customization.
|
String |
getUserPoolId()
The user pool ID for the user pool.
|
int |
hashCode() |
void |
setClientId(String clientId)
The client ID for the client app.
|
void |
setCSS(String cSS)
The CSS values in the UI customization.
|
void |
setImageFile(ByteBuffer imageFile)
The uploaded logo image for the UI customization.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetUICustomizationRequest |
withClientId(String clientId)
The client ID for the client app.
|
SetUICustomizationRequest |
withCSS(String cSS)
The CSS values in the UI customization.
|
SetUICustomizationRequest |
withImageFile(ByteBuffer imageFile)
The uploaded logo image for the UI customization.
|
SetUICustomizationRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUserPoolId()
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool.
public SetUICustomizationRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool.
public String getClientId()
The client ID for the client app.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
The client ID for the client app.
public void setClientId(String clientId)
The client ID for the client app.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - The client ID for the client app.
public SetUICustomizationRequest withClientId(String clientId)
The client ID for the client app.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - The client ID for the client app.
public String getCSS()
The CSS values in the UI customization.
The CSS values in the UI customization.
public void setCSS(String cSS)
The CSS values in the UI customization.
cSS - The CSS values in the UI customization.
public SetUICustomizationRequest withCSS(String cSS)
The CSS values in the UI customization.
Returns a reference to this object so that method calls can be chained together.
cSS - The CSS values in the UI customization.
public ByteBuffer getImageFile()
The uploaded logo image for the UI customization.
The uploaded logo image for the UI customization.
public void setImageFile(ByteBuffer imageFile)
The uploaded logo image for the UI customization.
imageFile - The uploaded logo image for the UI customization.
public SetUICustomizationRequest withImageFile(ByteBuffer imageFile)
The uploaded logo image for the UI customization.
Returns a reference to this object so that method calls can be chained together.
imageFile - The uploaded logo image for the UI customization.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.