Interface DescribeStacksRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFormationRequest.Builder,CopyableBuilder<DescribeStacksRequest.Builder,DescribeStacksRequest>,SdkBuilder<DescribeStacksRequest.Builder,DescribeStacksRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeStacksRequest
@Mutable @NotThreadSafe public static interface DescribeStacksRequest.Builder extends CloudFormationRequest.Builder, SdkPojo, CopyableBuilder<DescribeStacksRequest.Builder,DescribeStacksRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeStacksRequest.BuildernextToken(String nextToken)The token for the next set of items to return.DescribeStacksRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeStacksRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeStacksRequest.BuilderstackName(String stackName)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
stackName
DescribeStacksRequest.Builder stackName(String stackName)
If you don't pass a parameter to
StackName, the API returns a response that describes all resources in the account, which can impact performance. This requiresListStacksandDescribeStackspermissions.Consider using the ListStacks API if you're not passing a parameter to
StackName.The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request:
{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }
The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
- Parameters:
stackName-If you don't pass a parameter to
StackName, the API returns a response that describes all resources in the account, which can impact performance. This requiresListStacksandDescribeStackspermissions.Consider using the ListStacks API if you're not passing a parameter to
StackName.The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request:
{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }
The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
nextToken
DescribeStacksRequest.Builder nextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeStacksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeStacksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-