@Generated(value="software.amazon.awssdk:codegen") public final class TestAuthorizationRequest extends IotRequest implements ToCopyableBuilder<TestAuthorizationRequest.Builder,TestAuthorizationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestAuthorizationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AuthInfo> |
authInfos()
A list of authorization info objects.
|
static TestAuthorizationRequest.Builder |
builder() |
String |
clientId()
The MQTT client ID.
|
String |
cognitoIdentityPoolId()
The Cognito identity pool ID.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAuthInfos()
Returns true if the AuthInfos property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasPolicyNamesToAdd()
Returns true if the PolicyNamesToAdd property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasPolicyNamesToSkip()
Returns true if the PolicyNamesToSkip property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<String> |
policyNamesToAdd()
When testing custom authorization, the policies specified here are treated as if they are attached to the
principal being authorized.
|
List<String> |
policyNamesToSkip()
When testing custom authorization, the policies specified here are treated as if they are not attached to the
principal being authorized.
|
String |
principal()
The principal.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TestAuthorizationRequest.Builder> |
serializableBuilderClass() |
TestAuthorizationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String principal()
The principal.
public String cognitoIdentityPoolId()
The Cognito identity pool ID.
public boolean hasAuthInfos()
public List<AuthInfo> authInfos()
A list of authorization info objects. Simulating authorization will create a response for each
authInfo object in the list.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAuthInfos() to see if a value was sent in this field.
authInfo object in the list.public String clientId()
The MQTT client ID.
public boolean hasPolicyNamesToAdd()
public List<String> policyNamesToAdd()
When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPolicyNamesToAdd() to see if a value was sent in this field.
public boolean hasPolicyNamesToSkip()
public List<String> policyNamesToSkip()
When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPolicyNamesToSkip() to see if a value was sent in this field.
public TestAuthorizationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TestAuthorizationRequest.Builder,TestAuthorizationRequest>toBuilder in class IotRequestpublic static TestAuthorizationRequest.Builder builder()
public static Class<? extends TestAuthorizationRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.