Skip to content

AmiContextQuery

Query to AMI context provider.

Initializer

import com.aliyun.ros.cdk.assembly.schema.AmiContextQuery;
AmiContextQuery.builder()
    .account(java.lang.String)
    .filters(java.util.Map<java.lang.String, java.util.List<java.lang.String>>)
    .region(java.lang.String)
//  .owners(java.util.List<java.lang.String>)
    .build();

Properties

Name Type Description
account java.lang.String Account to query.
filters java.util.Map> Filters to DescribeImages call.
region java.lang.String Region to query.
owners java.util.List Owners to DescribeImages call.

accountRequired

public java.lang.String getAccount();
  • Type: java.lang.String

Account to query.


filtersRequired

public java.util.Map<java.lang.String, java.util.List<java.lang.String>> getFilters();
  • Type: java.util.Map>

Filters to DescribeImages call.


regionRequired

public java.lang.String getRegion();
  • Type: java.lang.String

Region to query.


ownersOptional

public java.util.List<java.lang.String> getOwners();
  • Type: java.util.List
  • Default: All owners

Owners to DescribeImages call.