@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfigurationcopypublic String principal()
The principal.
public String cognitoIdentityPoolId()
The Cognito identity pool ID.
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.
authInfo object in the list.public String clientId()
The MQTT client ID.
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.
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.
public TestAuthorizationRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<TestAuthorizationRequest.Builder,TestAuthorizationRequest>toBuilder in class IotRequestpublic static TestAuthorizationRequest.Builder builder()
public static Class<? extends TestAuthorizationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.