@Generated(value="software.amazon.awssdk:codegen") public interface IamWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
IamWaiter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IamWaiter.Builder |
builder()
Create a builder that can be used to configure and create a
IamWaiter. |
static IamWaiter |
create()
Create an instance of
IamWaiter with the default configuration. |
default WaiterResponse<GetInstanceProfileResponse> |
waitUntilInstanceProfileExists(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest)
Polls
IamClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is met,
or until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<GetInstanceProfileResponse> |
waitUntilInstanceProfileExists(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
IamClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is met,
or until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<GetInstanceProfileResponse> |
waitUntilInstanceProfileExists(GetInstanceProfileRequest getInstanceProfileRequest)
Polls
IamClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is met,
or until it is determined that the resource will never enter into the desired state |
default WaiterResponse<GetInstanceProfileResponse> |
waitUntilInstanceProfileExists(GetInstanceProfileRequest getInstanceProfileRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
IamClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is met,
or until it is determined that the resource will never enter into the desired state |
default WaiterResponse<GetPolicyResponse> |
waitUntilPolicyExists(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
Polls
IamClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it is
determined that the resource will never enter into the desired state. |
default WaiterResponse<GetPolicyResponse> |
waitUntilPolicyExists(Consumer<GetPolicyRequest.Builder> getPolicyRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
IamClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it is
determined that the resource will never enter into the desired state. |
default WaiterResponse<GetPolicyResponse> |
waitUntilPolicyExists(GetPolicyRequest getPolicyRequest)
Polls
IamClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it is
determined that the resource will never enter into the desired state |
default WaiterResponse<GetPolicyResponse> |
waitUntilPolicyExists(GetPolicyRequest getPolicyRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
IamClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it is
determined that the resource will never enter into the desired state |
default WaiterResponse<GetRoleResponse> |
waitUntilRoleExists(Consumer<GetRoleRequest.Builder> getRoleRequest)
Polls
IamClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired state. |
default WaiterResponse<GetRoleResponse> |
waitUntilRoleExists(Consumer<GetRoleRequest.Builder> getRoleRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
IamClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired state. |
default WaiterResponse<GetRoleResponse> |
waitUntilRoleExists(GetRoleRequest getRoleRequest)
Polls
IamClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired state |
default WaiterResponse<GetRoleResponse> |
waitUntilRoleExists(GetRoleRequest getRoleRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
IamClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired state |
default WaiterResponse<GetUserResponse> |
waitUntilUserExists(Consumer<GetUserRequest.Builder> getUserRequest)
Polls
IamClient.getUser() API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired state. |
default WaiterResponse<GetUserResponse> |
waitUntilUserExists(Consumer<GetUserRequest.Builder> getUserRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
IamClient.getUser() API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired state. |
default WaiterResponse<GetUserResponse> |
waitUntilUserExists(GetUserRequest getUserRequest)
Polls
IamClient.getUser() API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired state |
default WaiterResponse<GetUserResponse> |
waitUntilUserExists(GetUserRequest getUserRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
IamClient.getUser() API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired state |
closedefault WaiterResponse<GetInstanceProfileResponse> waitUntilInstanceProfileExists(GetInstanceProfileRequest getInstanceProfileRequest)
IamClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is met,
or until it is determined that the resource will never enter into the desired stategetInstanceProfileRequest - the request to be used for pollingdefault WaiterResponse<GetInstanceProfileResponse> waitUntilInstanceProfileExists(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest)
IamClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is met,
or until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetInstanceProfileRequest.builder()
getInstanceProfileRequest - The consumer that will configure the request to be used for pollingdefault WaiterResponse<GetInstanceProfileResponse> waitUntilInstanceProfileExists(GetInstanceProfileRequest getInstanceProfileRequest, WaiterOverrideConfiguration overrideConfig)
IamClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is met,
or until it is determined that the resource will never enter into the desired stategetInstanceProfileRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault WaiterResponse<GetInstanceProfileResponse> waitUntilInstanceProfileExists(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
IamClient.getInstanceProfile(software.amazon.awssdk.services.iam.model.GetInstanceProfileRequest) API until the desired condition InstanceProfileExists is met,
or until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getInstanceProfileRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersdefault WaiterResponse<GetPolicyResponse> waitUntilPolicyExists(GetPolicyRequest getPolicyRequest)
IamClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it is
determined that the resource will never enter into the desired stategetPolicyRequest - the request to be used for pollingdefault WaiterResponse<GetPolicyResponse> waitUntilPolicyExists(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
IamClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetPolicyRequest.builder()
getPolicyRequest - The consumer that will configure the request to be used for pollingdefault WaiterResponse<GetPolicyResponse> waitUntilPolicyExists(GetPolicyRequest getPolicyRequest, WaiterOverrideConfiguration overrideConfig)
IamClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it is
determined that the resource will never enter into the desired stategetPolicyRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault WaiterResponse<GetPolicyResponse> waitUntilPolicyExists(Consumer<GetPolicyRequest.Builder> getPolicyRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
IamClient.getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest) API until the desired condition PolicyExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getPolicyRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersdefault WaiterResponse<GetRoleResponse> waitUntilRoleExists(GetRoleRequest getRoleRequest)
IamClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired stategetRoleRequest - the request to be used for pollingdefault WaiterResponse<GetRoleResponse> waitUntilRoleExists(Consumer<GetRoleRequest.Builder> getRoleRequest)
IamClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetRoleRequest.builder()
getRoleRequest - The consumer that will configure the request to be used for pollingdefault WaiterResponse<GetRoleResponse> waitUntilRoleExists(GetRoleRequest getRoleRequest, WaiterOverrideConfiguration overrideConfig)
IamClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired stategetRoleRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault WaiterResponse<GetRoleResponse> waitUntilRoleExists(Consumer<GetRoleRequest.Builder> getRoleRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
IamClient.getRole(software.amazon.awssdk.services.iam.model.GetRoleRequest) API until the desired condition RoleExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getRoleRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersdefault WaiterResponse<GetUserResponse> waitUntilUserExists(GetUserRequest getUserRequest)
IamClient.getUser() API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired stategetUserRequest - the request to be used for pollingdefault WaiterResponse<GetUserResponse> waitUntilUserExists(Consumer<GetUserRequest.Builder> getUserRequest)
IamClient.getUser() API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetUserRequest.builder()
getUserRequest - The consumer that will configure the request to be used for pollingdefault WaiterResponse<GetUserResponse> waitUntilUserExists(GetUserRequest getUserRequest, WaiterOverrideConfiguration overrideConfig)
IamClient.getUser() API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired stategetUserRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault WaiterResponse<GetUserResponse> waitUntilUserExists(Consumer<GetUserRequest.Builder> getUserRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
IamClient.getUser() API until the desired condition UserExists is met, or until it is
determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getUserRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersstatic IamWaiter.Builder builder()
IamWaiter.static IamWaiter create()
IamWaiter with the default configuration.
A default IamClient will be created to poll resources. It is recommended to share a single instance of
the waiter created via this method. If it is not desirable to share a waiter instance, invoke SdkAutoCloseable.close() to
release the resources once the waiter is not needed.
IamWaiterCopyright © 2022. All rights reserved.