Interface Route53RecoveryControlConfigClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery Controller
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aRoute53RecoveryControlConfigClient.create()Create aRoute53RecoveryControlConfigClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateClusterResponsecreateCluster(Consumer<CreateClusterRequest.Builder> createClusterRequest) Create a new cluster.default CreateClusterResponsecreateCluster(CreateClusterRequest createClusterRequest) Create a new cluster.default CreateControlPanelResponsecreateControlPanel(Consumer<CreateControlPanelRequest.Builder> createControlPanelRequest) Creates a new control panel.default CreateControlPanelResponsecreateControlPanel(CreateControlPanelRequest createControlPanelRequest) Creates a new control panel.default CreateRoutingControlResponsecreateRoutingControl(Consumer<CreateRoutingControlRequest.Builder> createRoutingControlRequest) Creates a new routing control.default CreateRoutingControlResponsecreateRoutingControl(CreateRoutingControlRequest createRoutingControlRequest) Creates a new routing control.default CreateSafetyRuleResponsecreateSafetyRule(Consumer<CreateSafetyRuleRequest.Builder> createSafetyRuleRequest) Creates a safety rule in a control panel.default CreateSafetyRuleResponsecreateSafetyRule(CreateSafetyRuleRequest createSafetyRuleRequest) Creates a safety rule in a control panel.default DeleteClusterResponsedeleteCluster(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest) Delete a cluster.default DeleteClusterResponsedeleteCluster(DeleteClusterRequest deleteClusterRequest) Delete a cluster.default DeleteControlPanelResponsedeleteControlPanel(Consumer<DeleteControlPanelRequest.Builder> deleteControlPanelRequest) Deletes a control panel.default DeleteControlPanelResponsedeleteControlPanel(DeleteControlPanelRequest deleteControlPanelRequest) Deletes a control panel.default DeleteRoutingControlResponsedeleteRoutingControl(Consumer<DeleteRoutingControlRequest.Builder> deleteRoutingControlRequest) Deletes a routing control.default DeleteRoutingControlResponsedeleteRoutingControl(DeleteRoutingControlRequest deleteRoutingControlRequest) Deletes a routing control.default DeleteSafetyRuleResponsedeleteSafetyRule(Consumer<DeleteSafetyRuleRequest.Builder> deleteSafetyRuleRequest) Deletes a safety rule.default DeleteSafetyRuleResponsedeleteSafetyRule(DeleteSafetyRuleRequest deleteSafetyRuleRequest) Deletes a safety rule.default DescribeClusterResponsedescribeCluster(Consumer<DescribeClusterRequest.Builder> describeClusterRequest) Display the details about a cluster.default DescribeClusterResponsedescribeCluster(DescribeClusterRequest describeClusterRequest) Display the details about a cluster.default DescribeControlPanelResponsedescribeControlPanel(Consumer<DescribeControlPanelRequest.Builder> describeControlPanelRequest) Displays details about a control panel.default DescribeControlPanelResponsedescribeControlPanel(DescribeControlPanelRequest describeControlPanelRequest) Displays details about a control panel.default DescribeRoutingControlResponsedescribeRoutingControl(Consumer<DescribeRoutingControlRequest.Builder> describeRoutingControlRequest) Displays details about a routing control.default DescribeRoutingControlResponsedescribeRoutingControl(DescribeRoutingControlRequest describeRoutingControlRequest) Displays details about a routing control.default DescribeSafetyRuleResponsedescribeSafetyRule(Consumer<DescribeSafetyRuleRequest.Builder> describeSafetyRuleRequest) Returns information about a safety rule.default DescribeSafetyRuleResponsedescribeSafetyRule(DescribeSafetyRuleRequest describeSafetyRuleRequest) Returns information about a safety rule.default GetResourcePolicyResponsegetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Get information about the resource policy for a cluster.default GetResourcePolicyResponsegetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Get information about the resource policy for a cluster.listAssociatedRoute53HealthChecks(Consumer<ListAssociatedRoute53HealthChecksRequest.Builder> listAssociatedRoute53HealthChecksRequest) Returns an array of all Amazon Route 53 health checks associated with a specific routing control.listAssociatedRoute53HealthChecks(ListAssociatedRoute53HealthChecksRequest listAssociatedRoute53HealthChecksRequest) Returns an array of all Amazon Route 53 health checks associated with a specific routing control.listAssociatedRoute53HealthChecksPaginator(Consumer<ListAssociatedRoute53HealthChecksRequest.Builder> listAssociatedRoute53HealthChecksRequest) listAssociatedRoute53HealthChecksPaginator(ListAssociatedRoute53HealthChecksRequest listAssociatedRoute53HealthChecksRequest) default ListClustersResponselistClusters(Consumer<ListClustersRequest.Builder> listClustersRequest) Returns an array of all the clusters in an account.default ListClustersResponselistClusters(ListClustersRequest listClustersRequest) Returns an array of all the clusters in an account.default ListClustersIterablelistClustersPaginator(Consumer<ListClustersRequest.Builder> listClustersRequest) This is a variant oflistClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest)operation.default ListClustersIterablelistClustersPaginator(ListClustersRequest listClustersRequest) This is a variant oflistClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest)operation.default ListControlPanelsResponselistControlPanels(Consumer<ListControlPanelsRequest.Builder> listControlPanelsRequest) Returns an array of control panels in an account or in a cluster.default ListControlPanelsResponselistControlPanels(ListControlPanelsRequest listControlPanelsRequest) Returns an array of control panels in an account or in a cluster.default ListControlPanelsIterablelistControlPanelsPaginator(Consumer<ListControlPanelsRequest.Builder> listControlPanelsRequest) This is a variant oflistControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest)operation.default ListControlPanelsIterablelistControlPanelsPaginator(ListControlPanelsRequest listControlPanelsRequest) This is a variant oflistControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest)operation.default ListRoutingControlsResponselistRoutingControls(Consumer<ListRoutingControlsRequest.Builder> listRoutingControlsRequest) Returns an array of routing controls for a control panel.default ListRoutingControlsResponselistRoutingControls(ListRoutingControlsRequest listRoutingControlsRequest) Returns an array of routing controls for a control panel.default ListRoutingControlsIterablelistRoutingControlsPaginator(Consumer<ListRoutingControlsRequest.Builder> listRoutingControlsRequest) This is a variant oflistRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest)operation.default ListRoutingControlsIterablelistRoutingControlsPaginator(ListRoutingControlsRequest listRoutingControlsRequest) This is a variant oflistRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest)operation.default ListSafetyRulesResponselistSafetyRules(Consumer<ListSafetyRulesRequest.Builder> listSafetyRulesRequest) List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.default ListSafetyRulesResponselistSafetyRules(ListSafetyRulesRequest listSafetyRulesRequest) List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.default ListSafetyRulesIterablelistSafetyRulesPaginator(Consumer<ListSafetyRulesRequest.Builder> listSafetyRulesRequest) This is a variant oflistSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest)operation.default ListSafetyRulesIterablelistSafetyRulesPaginator(ListSafetyRulesRequest listSafetyRulesRequest) This is a variant oflistSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a tag to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds a tag to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes a tag from a resource.default UpdateControlPanelResponseupdateControlPanel(Consumer<UpdateControlPanelRequest.Builder> updateControlPanelRequest) Updates a control panel.default UpdateControlPanelResponseupdateControlPanel(UpdateControlPanelRequest updateControlPanelRequest) Updates a control panel.default UpdateRoutingControlResponseupdateRoutingControl(Consumer<UpdateRoutingControlRequest.Builder> updateRoutingControlRequest) Updates a routing control.default UpdateRoutingControlResponseupdateRoutingControl(UpdateRoutingControlRequest updateRoutingControlRequest) Updates a routing control.default UpdateSafetyRuleResponseupdateSafetyRule(Consumer<UpdateSafetyRuleRequest.Builder> updateSafetyRuleRequest) Update a safety rule (an assertion rule or gating rule).default UpdateSafetyRuleResponseupdateSafetyRule(UpdateSafetyRuleRequest updateSafetyRuleRequest) Update a safety rule (an assertion rule or gating rule).waiter()Create an instance ofRoute53RecoveryControlConfigWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createCluster
default CreateClusterResponse createCluster(CreateClusterRequest createClusterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Create a new cluster. A cluster is a set of redundant Regional endpoints against which you can run API calls to update or get the state of one or more routing controls. Each cluster has a name, status, Amazon Resource Name (ARN), and an array of the five cluster endpoints (one for each supported Amazon Web Services Region) that you can use with API calls to the cluster data plane.
- Parameters:
createClusterRequest- Creates a cluster.- Returns:
- Result of the CreateCluster operation returned by the service.
- See Also:
-
createCluster
default CreateClusterResponse createCluster(Consumer<CreateClusterRequest.Builder> createClusterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Create a new cluster. A cluster is a set of redundant Regional endpoints against which you can run API calls to update or get the state of one or more routing controls. Each cluster has a name, status, Amazon Resource Name (ARN), and an array of the five cluster endpoints (one for each supported Amazon Web Services Region) that you can use with API calls to the cluster data plane.
This is a convenience which creates an instance of the
CreateClusterRequest.Builderavoiding the need to create one manually viaCreateClusterRequest.builder()- Parameters:
createClusterRequest- AConsumerthat will call methods onCreateClusterRequest.Builderto create a request. Creates a cluster.- Returns:
- Result of the CreateCluster operation returned by the service.
- See Also:
-
createControlPanel
default CreateControlPanelResponse createControlPanel(CreateControlPanelRequest createControlPanelRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Creates a new control panel. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over an Availability Zone or Amazon Web Services Region.
- Parameters:
createControlPanelRequest- The details of the control panel that you're creating.- Returns:
- Result of the CreateControlPanel operation returned by the service.
- See Also:
-
createControlPanel
default CreateControlPanelResponse createControlPanel(Consumer<CreateControlPanelRequest.Builder> createControlPanelRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Creates a new control panel. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over an Availability Zone or Amazon Web Services Region.
This is a convenience which creates an instance of the
CreateControlPanelRequest.Builderavoiding the need to create one manually viaCreateControlPanelRequest.builder()- Parameters:
createControlPanelRequest- AConsumerthat will call methods onCreateControlPanelRequest.Builderto create a request. The details of the control panel that you're creating.- Returns:
- Result of the CreateControlPanel operation returned by the service.
- See Also:
-
createRoutingControl
default CreateRoutingControlResponse createRoutingControl(CreateRoutingControlRequest createRoutingControlRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Creates a new routing control.
A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.
To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
- Parameters:
createRoutingControlRequest- The details of the routing control that you're creating.- Returns:
- Result of the CreateRoutingControl operation returned by the service.
- See Also:
-
createRoutingControl
default CreateRoutingControlResponse createRoutingControl(Consumer<CreateRoutingControlRequest.Builder> createRoutingControlRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Creates a new routing control.
A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.
To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
This is a convenience which creates an instance of the
CreateRoutingControlRequest.Builderavoiding the need to create one manually viaCreateRoutingControlRequest.builder()- Parameters:
createRoutingControlRequest- AConsumerthat will call methods onCreateRoutingControlRequest.Builderto create a request. The details of the routing control that you're creating.- Returns:
- Result of the CreateRoutingControl operation returned by the service.
- See Also:
-
createSafetyRule
default CreateSafetyRuleResponse createSafetyRule(CreateSafetyRuleRequest createSafetyRuleRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Creates a safety rule in a control panel. Safety rules let you add safeguards around changing routing control states, and for enabling and disabling routing controls, to help prevent unexpected outcomes.
There are two types of safety rules: assertion rules and gating rules.
Assertion rule: An assertion rule enforces that, when you change a routing control state, that a certain criteria is met. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.
Gating rule: A gating rule lets you configure a gating routing control as an overall "on/off" switch for a group of routing controls. Or, you can configure more complex gating scenarios, for example by configuring multiple gating routing controls.
For more information, see Safety rules in the Amazon Route 53 Application Recovery Controller Developer Guide.
- Parameters:
createSafetyRuleRequest- The request body that you include when you create a safety rule.- Returns:
- Result of the CreateSafetyRule operation returned by the service.
- See Also:
-
createSafetyRule
default CreateSafetyRuleResponse createSafetyRule(Consumer<CreateSafetyRuleRequest.Builder> createSafetyRuleRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Creates a safety rule in a control panel. Safety rules let you add safeguards around changing routing control states, and for enabling and disabling routing controls, to help prevent unexpected outcomes.
There are two types of safety rules: assertion rules and gating rules.
Assertion rule: An assertion rule enforces that, when you change a routing control state, that a certain criteria is met. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.
Gating rule: A gating rule lets you configure a gating routing control as an overall "on/off" switch for a group of routing controls. Or, you can configure more complex gating scenarios, for example by configuring multiple gating routing controls.
For more information, see Safety rules in the Amazon Route 53 Application Recovery Controller Developer Guide.
This is a convenience which creates an instance of the
CreateSafetyRuleRequest.Builderavoiding the need to create one manually viaCreateSafetyRuleRequest.builder()- Parameters:
createSafetyRuleRequest- AConsumerthat will call methods onCreateSafetyRuleRequest.Builderto create a request. The request body that you include when you create a safety rule.- Returns:
- Result of the CreateSafetyRule operation returned by the service.
- See Also:
-
deleteCluster
default DeleteClusterResponse deleteCluster(DeleteClusterRequest deleteClusterRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Delete a cluster.
- Parameters:
deleteClusterRequest-- Returns:
- Result of the DeleteCluster operation returned by the service.
- See Also:
-
deleteCluster
default DeleteClusterResponse deleteCluster(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Delete a cluster.
This is a convenience which creates an instance of the
DeleteClusterRequest.Builderavoiding the need to create one manually viaDeleteClusterRequest.builder()- Parameters:
deleteClusterRequest- AConsumerthat will call methods onDeleteClusterRequest.Builderto create a request.- Returns:
- Result of the DeleteCluster operation returned by the service.
- See Also:
-
deleteControlPanel
default DeleteControlPanelResponse deleteControlPanel(DeleteControlPanelRequest deleteControlPanelRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Deletes a control panel.
- Parameters:
deleteControlPanelRequest-- Returns:
- Result of the DeleteControlPanel operation returned by the service.
- See Also:
-
deleteControlPanel
default DeleteControlPanelResponse deleteControlPanel(Consumer<DeleteControlPanelRequest.Builder> deleteControlPanelRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Deletes a control panel.
This is a convenience which creates an instance of the
DeleteControlPanelRequest.Builderavoiding the need to create one manually viaDeleteControlPanelRequest.builder()- Parameters:
deleteControlPanelRequest- AConsumerthat will call methods onDeleteControlPanelRequest.Builderto create a request.- Returns:
- Result of the DeleteControlPanel operation returned by the service.
- See Also:
-
deleteRoutingControl
default DeleteRoutingControlResponse deleteRoutingControl(DeleteRoutingControlRequest deleteRoutingControlRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Deletes a routing control.
- Parameters:
deleteRoutingControlRequest-- Returns:
- Result of the DeleteRoutingControl operation returned by the service.
- See Also:
-
deleteRoutingControl
default DeleteRoutingControlResponse deleteRoutingControl(Consumer<DeleteRoutingControlRequest.Builder> deleteRoutingControlRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Deletes a routing control.
This is a convenience which creates an instance of the
DeleteRoutingControlRequest.Builderavoiding the need to create one manually viaDeleteRoutingControlRequest.builder()- Parameters:
deleteRoutingControlRequest- AConsumerthat will call methods onDeleteRoutingControlRequest.Builderto create a request.- Returns:
- Result of the DeleteRoutingControl operation returned by the service.
- See Also:
-
deleteSafetyRule
default DeleteSafetyRuleResponse deleteSafetyRule(DeleteSafetyRuleRequest deleteSafetyRuleRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Deletes a safety rule.
/>- Parameters:
deleteSafetyRuleRequest-- Returns:
- Result of the DeleteSafetyRule operation returned by the service.
- See Also:
-
deleteSafetyRule
default DeleteSafetyRuleResponse deleteSafetyRule(Consumer<DeleteSafetyRuleRequest.Builder> deleteSafetyRuleRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Deletes a safety rule.
/>
This is a convenience which creates an instance of the
DeleteSafetyRuleRequest.Builderavoiding the need to create one manually viaDeleteSafetyRuleRequest.builder()- Parameters:
deleteSafetyRuleRequest- AConsumerthat will call methods onDeleteSafetyRuleRequest.Builderto create a request.- Returns:
- Result of the DeleteSafetyRule operation returned by the service.
- See Also:
-
describeCluster
default DescribeClusterResponse describeCluster(DescribeClusterRequest describeClusterRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).
- Parameters:
describeClusterRequest-- Returns:
- Result of the DescribeCluster operation returned by the service.
- See Also:
-
describeCluster
default DescribeClusterResponse describeCluster(Consumer<DescribeClusterRequest.Builder> describeClusterRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).
This is a convenience which creates an instance of the
DescribeClusterRequest.Builderavoiding the need to create one manually viaDescribeClusterRequest.builder()- Parameters:
describeClusterRequest- AConsumerthat will call methods onDescribeClusterRequest.Builderto create a request.- Returns:
- Result of the DescribeCluster operation returned by the service.
- See Also:
-
describeControlPanel
default DescribeControlPanelResponse describeControlPanel(DescribeControlPanelRequest describeControlPanelRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Displays details about a control panel.
- Parameters:
describeControlPanelRequest-- Returns:
- Result of the DescribeControlPanel operation returned by the service.
- See Also:
-
describeControlPanel
default DescribeControlPanelResponse describeControlPanel(Consumer<DescribeControlPanelRequest.Builder> describeControlPanelRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Displays details about a control panel.
This is a convenience which creates an instance of the
DescribeControlPanelRequest.Builderavoiding the need to create one manually viaDescribeControlPanelRequest.builder()- Parameters:
describeControlPanelRequest- AConsumerthat will call methods onDescribeControlPanelRequest.Builderto create a request.- Returns:
- Result of the DescribeControlPanel operation returned by the service.
- See Also:
-
describeRoutingControl
default DescribeRoutingControlResponse describeRoutingControl(DescribeRoutingControlRequest describeRoutingControlRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Displays details about a routing control. A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.
To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
- Parameters:
describeRoutingControlRequest-- Returns:
- Result of the DescribeRoutingControl operation returned by the service.
- See Also:
-
describeRoutingControl
default DescribeRoutingControlResponse describeRoutingControl(Consumer<DescribeRoutingControlRequest.Builder> describeRoutingControlRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Displays details about a routing control. A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.
To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
This is a convenience which creates an instance of the
DescribeRoutingControlRequest.Builderavoiding the need to create one manually viaDescribeRoutingControlRequest.builder()- Parameters:
describeRoutingControlRequest- AConsumerthat will call methods onDescribeRoutingControlRequest.Builderto create a request.- Returns:
- Result of the DescribeRoutingControl operation returned by the service.
- See Also:
-
describeSafetyRule
default DescribeSafetyRuleResponse describeSafetyRule(DescribeSafetyRuleRequest describeSafetyRuleRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns information about a safety rule.
- Parameters:
describeSafetyRuleRequest-- Returns:
- Result of the DescribeSafetyRule operation returned by the service.
- See Also:
-
describeSafetyRule
default DescribeSafetyRuleResponse describeSafetyRule(Consumer<DescribeSafetyRuleRequest.Builder> describeSafetyRuleRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns information about a safety rule.
This is a convenience which creates an instance of the
DescribeSafetyRuleRequest.Builderavoiding the need to create one manually viaDescribeSafetyRuleRequest.builder()- Parameters:
describeSafetyRuleRequest- AConsumerthat will call methods onDescribeSafetyRuleRequest.Builderto create a request.- Returns:
- Result of the DescribeSafetyRule operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Get information about the resource policy for a cluster.
- Parameters:
getResourcePolicyRequest-- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Get information about the resource policy for a cluster.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
listAssociatedRoute53HealthChecks
default ListAssociatedRoute53HealthChecksResponse listAssociatedRoute53HealthChecks(ListAssociatedRoute53HealthChecksRequest listAssociatedRoute53HealthChecksRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns an array of all Amazon Route 53 health checks associated with a specific routing control.
- Parameters:
listAssociatedRoute53HealthChecksRequest-- Returns:
- Result of the ListAssociatedRoute53HealthChecks operation returned by the service.
- See Also:
-
listAssociatedRoute53HealthChecks
default ListAssociatedRoute53HealthChecksResponse listAssociatedRoute53HealthChecks(Consumer<ListAssociatedRoute53HealthChecksRequest.Builder> listAssociatedRoute53HealthChecksRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns an array of all Amazon Route 53 health checks associated with a specific routing control.
This is a convenience which creates an instance of the
ListAssociatedRoute53HealthChecksRequest.Builderavoiding the need to create one manually viaListAssociatedRoute53HealthChecksRequest.builder()- Parameters:
listAssociatedRoute53HealthChecksRequest- AConsumerthat will call methods onListAssociatedRoute53HealthChecksRequest.Builderto create a request.- Returns:
- Result of the ListAssociatedRoute53HealthChecks operation returned by the service.
- See Also:
-
listAssociatedRoute53HealthChecksPaginator
default ListAssociatedRoute53HealthChecksIterable listAssociatedRoute53HealthChecksPaginator(ListAssociatedRoute53HealthChecksRequest listAssociatedRoute53HealthChecksRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listAssociatedRoute53HealthChecks(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksIterable responses = client.listAssociatedRoute53HealthChecksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksIterable responses = client .listAssociatedRoute53HealthChecksPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksIterable responses = client.listAssociatedRoute53HealthChecksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssociatedRoute53HealthChecks(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksRequest)operation.- Parameters:
listAssociatedRoute53HealthChecksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssociatedRoute53HealthChecksPaginator
default ListAssociatedRoute53HealthChecksIterable listAssociatedRoute53HealthChecksPaginator(Consumer<ListAssociatedRoute53HealthChecksRequest.Builder> listAssociatedRoute53HealthChecksRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listAssociatedRoute53HealthChecks(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksIterable responses = client.listAssociatedRoute53HealthChecksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksIterable responses = client .listAssociatedRoute53HealthChecksPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksIterable responses = client.listAssociatedRoute53HealthChecksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssociatedRoute53HealthChecks(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksRequest)operation.
This is a convenience which creates an instance of the
ListAssociatedRoute53HealthChecksRequest.Builderavoiding the need to create one manually viaListAssociatedRoute53HealthChecksRequest.builder()- Parameters:
listAssociatedRoute53HealthChecksRequest- AConsumerthat will call methods onListAssociatedRoute53HealthChecksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listClusters
default ListClustersResponse listClusters(ListClustersRequest listClustersRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns an array of all the clusters in an account.
- Parameters:
listClustersRequest-- Returns:
- Result of the ListClusters operation returned by the service.
- See Also:
-
listClusters
default ListClustersResponse listClusters(Consumer<ListClustersRequest.Builder> listClustersRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns an array of all the clusters in an account.
This is a convenience which creates an instance of the
ListClustersRequest.Builderavoiding the need to create one manually viaListClustersRequest.builder()- Parameters:
listClustersRequest- AConsumerthat will call methods onListClustersRequest.Builderto create a request.- Returns:
- Result of the ListClusters operation returned by the service.
- See Also:
-
listClustersPaginator
default ListClustersIterable listClustersPaginator(ListClustersRequest listClustersRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersIterable responses = client.listClustersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersIterable responses = client .listClustersPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersIterable responses = client.listClustersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest)operation.- Parameters:
listClustersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listClustersPaginator
default ListClustersIterable listClustersPaginator(Consumer<ListClustersRequest.Builder> listClustersRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersIterable responses = client.listClustersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersIterable responses = client .listClustersPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersIterable responses = client.listClustersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest)operation.
This is a convenience which creates an instance of the
ListClustersRequest.Builderavoiding the need to create one manually viaListClustersRequest.builder()- Parameters:
listClustersRequest- AConsumerthat will call methods onListClustersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlPanels
default ListControlPanelsResponse listControlPanels(ListControlPanelsRequest listControlPanelsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns an array of control panels in an account or in a cluster.
- Parameters:
listControlPanelsRequest-- Returns:
- Result of the ListControlPanels operation returned by the service.
- See Also:
-
listControlPanels
default ListControlPanelsResponse listControlPanels(Consumer<ListControlPanelsRequest.Builder> listControlPanelsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns an array of control panels in an account or in a cluster.
This is a convenience which creates an instance of the
ListControlPanelsRequest.Builderavoiding the need to create one manually viaListControlPanelsRequest.builder()- Parameters:
listControlPanelsRequest- AConsumerthat will call methods onListControlPanelsRequest.Builderto create a request.- Returns:
- Result of the ListControlPanels operation returned by the service.
- See Also:
-
listControlPanelsPaginator
default ListControlPanelsIterable listControlPanelsPaginator(ListControlPanelsRequest listControlPanelsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsIterable responses = client.listControlPanelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsIterable responses = client .listControlPanelsPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsIterable responses = client.listControlPanelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest)operation.- Parameters:
listControlPanelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlPanelsPaginator
default ListControlPanelsIterable listControlPanelsPaginator(Consumer<ListControlPanelsRequest.Builder> listControlPanelsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsIterable responses = client.listControlPanelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsIterable responses = client .listControlPanelsPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsIterable responses = client.listControlPanelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest)operation.
This is a convenience which creates an instance of the
ListControlPanelsRequest.Builderavoiding the need to create one manually viaListControlPanelsRequest.builder()- Parameters:
listControlPanelsRequest- AConsumerthat will call methods onListControlPanelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRoutingControls
default ListRoutingControlsResponse listRoutingControls(ListRoutingControlsRequest listRoutingControlsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns an array of routing controls for a control panel. A routing control is an Amazon Route 53 Application Recovery Controller construct that has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.
- Parameters:
listRoutingControlsRequest-- Returns:
- Result of the ListRoutingControls operation returned by the service.
- See Also:
-
listRoutingControls
default ListRoutingControlsResponse listRoutingControls(Consumer<ListRoutingControlsRequest.Builder> listRoutingControlsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Returns an array of routing controls for a control panel. A routing control is an Amazon Route 53 Application Recovery Controller construct that has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.
This is a convenience which creates an instance of the
ListRoutingControlsRequest.Builderavoiding the need to create one manually viaListRoutingControlsRequest.builder()- Parameters:
listRoutingControlsRequest- AConsumerthat will call methods onListRoutingControlsRequest.Builderto create a request.- Returns:
- Result of the ListRoutingControls operation returned by the service.
- See Also:
-
listRoutingControlsPaginator
default ListRoutingControlsIterable listRoutingControlsPaginator(ListRoutingControlsRequest listRoutingControlsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsIterable responses = client.listRoutingControlsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsIterable responses = client .listRoutingControlsPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsIterable responses = client.listRoutingControlsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest)operation.- Parameters:
listRoutingControlsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRoutingControlsPaginator
default ListRoutingControlsIterable listRoutingControlsPaginator(Consumer<ListRoutingControlsRequest.Builder> listRoutingControlsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsIterable responses = client.listRoutingControlsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsIterable responses = client .listRoutingControlsPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsIterable responses = client.listRoutingControlsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest)operation.
This is a convenience which creates an instance of the
ListRoutingControlsRequest.Builderavoiding the need to create one manually viaListRoutingControlsRequest.builder()- Parameters:
listRoutingControlsRequest- AConsumerthat will call methods onListRoutingControlsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSafetyRules
default ListSafetyRulesResponse listSafetyRules(ListSafetyRulesRequest listSafetyRulesRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.
- Parameters:
listSafetyRulesRequest-- Returns:
- Result of the ListSafetyRules operation returned by the service.
- See Also:
-
listSafetyRules
default ListSafetyRulesResponse listSafetyRules(Consumer<ListSafetyRulesRequest.Builder> listSafetyRulesRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.
This is a convenience which creates an instance of the
ListSafetyRulesRequest.Builderavoiding the need to create one manually viaListSafetyRulesRequest.builder()- Parameters:
listSafetyRulesRequest- AConsumerthat will call methods onListSafetyRulesRequest.Builderto create a request.- Returns:
- Result of the ListSafetyRules operation returned by the service.
- See Also:
-
listSafetyRulesPaginator
default ListSafetyRulesIterable listSafetyRulesPaginator(ListSafetyRulesRequest listSafetyRulesRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesIterable responses = client.listSafetyRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesIterable responses = client .listSafetyRulesPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesIterable responses = client.listSafetyRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest)operation.- Parameters:
listSafetyRulesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSafetyRulesPaginator
default ListSafetyRulesIterable listSafetyRulesPaginator(Consumer<ListSafetyRulesRequest.Builder> listSafetyRulesRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException This is a variant of
listSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesIterable responses = client.listSafetyRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesIterable responses = client .listSafetyRulesPaginator(request); for (software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesIterable responses = client.listSafetyRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest)operation.
This is a convenience which creates an instance of the
ListSafetyRulesRequest.Builderavoiding the need to create one manually viaListSafetyRulesRequest.builder()- Parameters:
listSafetyRulesRequest- AConsumerthat will call methods onListSafetyRulesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Lists the tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Lists the tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Adds a tag to a resource.
- Parameters:
tagResourceRequest- Request of adding tag to the resource- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Adds a tag to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. Request of adding tag to the resource- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Removes a tag from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Removes a tag from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateControlPanel
default UpdateControlPanelResponse updateControlPanel(UpdateControlPanelRequest updateControlPanelRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.
- Parameters:
updateControlPanelRequest- The details of the control panel that you're updating.- Returns:
- Result of the UpdateControlPanel operation returned by the service.
- See Also:
-
updateControlPanel
default UpdateControlPanelResponse updateControlPanel(Consumer<UpdateControlPanelRequest.Builder> updateControlPanelRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.
This is a convenience which creates an instance of the
UpdateControlPanelRequest.Builderavoiding the need to create one manually viaUpdateControlPanelRequest.builder()- Parameters:
updateControlPanelRequest- AConsumerthat will call methods onUpdateControlPanelRequest.Builderto create a request. The details of the control panel that you're updating.- Returns:
- Result of the UpdateControlPanel operation returned by the service.
- See Also:
-
updateRoutingControl
default UpdateRoutingControlResponse updateRoutingControl(UpdateRoutingControlRequest updateRoutingControlRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Updates a routing control. You can only update the name of the routing control. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
- Parameters:
updateRoutingControlRequest- The details of the routing control that you're updating.- Returns:
- Result of the UpdateRoutingControl operation returned by the service.
- See Also:
-
updateRoutingControl
default UpdateRoutingControlResponse updateRoutingControl(Consumer<UpdateRoutingControlRequest.Builder> updateRoutingControlRequest) throws ValidationException, InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Updates a routing control. You can only update the name of the routing control. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
This is a convenience which creates an instance of the
UpdateRoutingControlRequest.Builderavoiding the need to create one manually viaUpdateRoutingControlRequest.builder()- Parameters:
updateRoutingControlRequest- AConsumerthat will call methods onUpdateRoutingControlRequest.Builderto create a request. The details of the routing control that you're updating.- Returns:
- Result of the UpdateRoutingControl operation returned by the service.
- See Also:
-
updateSafetyRule
default UpdateSafetyRuleResponse updateSafetyRule(UpdateSafetyRuleRequest updateSafetyRuleRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Update a safety rule (an assertion rule or gating rule). You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new one.
- Parameters:
updateSafetyRuleRequest- A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally impair your application's availability.- Returns:
- Result of the UpdateSafetyRule operation returned by the service.
- See Also:
-
updateSafetyRule
default UpdateSafetyRuleResponse updateSafetyRule(Consumer<UpdateSafetyRuleRequest.Builder> updateSafetyRuleRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryControlConfigException Update a safety rule (an assertion rule or gating rule). You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new one.
This is a convenience which creates an instance of the
UpdateSafetyRuleRequest.Builderavoiding the need to create one manually viaUpdateSafetyRuleRequest.builder()- Parameters:
updateSafetyRuleRequest- AConsumerthat will call methods onUpdateSafetyRuleRequest.Builderto create a request. A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally impair your application's availability.- Returns:
- Result of the UpdateSafetyRule operation returned by the service.
- See Also:
-
waiter
Create an instance ofRoute53RecoveryControlConfigWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
Route53RecoveryControlConfigWaiter
-
create
Create aRoute53RecoveryControlConfigClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aRoute53RecoveryControlConfigClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-