ResourceFilter
import "github.com/aws/aws-sdk-go/service/resourcegroups"
type ResourceFilter struct { Name *string `type:"string" required:"true" enum:"ResourceFilterName"` Values []*string `min:"1" type:"list" required:"true"` }
A filter name and value pair that is used to obtain more specific results from a list of resources.
- Name
-
Type:
*string
The name of the filter. Filter names are case-sensitive.
Name is a required field
- Values
-
Type:
[]*string
One or more filter values. Allowed filter values vary by resource filter name, and are case-sensitive.
Values is a required field
Method
GoString
func (s ResourceFilter) GoString() string
GoString returns the string representation
SetName
func (s *ResourceFilter) SetName(v string) *ResourceFilter
SetName sets the Name field's value.
SetValues
func (s *ResourceFilter) SetValues(v []*string) *ResourceFilter
SetValues sets the Values field's value.
String
func (s ResourceFilter) String() string
String returns the string representation
Validate
func (s *ResourceFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.