Class GetReceivedLicensesFilter.Builder
- java.lang.Object
-
- com.pulumi.aws.licensemanager.inputs.GetReceivedLicensesFilter.Builder
-
- Enclosing class:
- GetReceivedLicensesFilter
public static final class GetReceivedLicensesFilter.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GetReceivedLicensesFilter defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetReceivedLicensesFilter
build()
GetReceivedLicensesFilter.Builder
name(java.lang.String name)
GetReceivedLicensesFilter.Builder
values(java.lang.String... values)
GetReceivedLicensesFilter.Builder
values(java.util.List<java.lang.String> values)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetReceivedLicensesFilter defaults)
-
-
Method Detail
-
name
public GetReceivedLicensesFilter.Builder name(java.lang.String name)
- Parameters:
name
- Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/license-manager/latest/APIReference/API_ListReceivedLicenses.html#API_ListReceivedLicenses_RequestSyntax). For example, if filtering using `ProductSKU`, use: <!--Start PulumiCodeChooser -->package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.licensemanager.LicensemanagerFunctions; import com.pulumi.aws.licensemanager.inputs.GetReceivedLicensesArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var selected = LicensemanagerFunctions.getReceivedLicenses(GetReceivedLicensesArgs.builder() .filters(GetReceivedLicensesFilterArgs.builder() .name("ProductSKU") .values("") .build()) .build()); } }
- Returns:
- builder
-
values
public GetReceivedLicensesFilter.Builder values(java.util.List<java.lang.String> values)
- Parameters:
values
- Set of values that are accepted for the given field.- Returns:
- builder
-
values
public GetReceivedLicensesFilter.Builder values(java.lang.String... values)
- Parameters:
values
- Set of values that are accepted for the given field.- Returns:
- builder
-
build
public GetReceivedLicensesFilter build()
-
-