Class ContainerGroupsAttributes

    • Method Detail

      • hasContainerGroupDefinitionProperties

        public final boolean hasContainerGroupDefinitionProperties()
        For responses, this returns true if the service returned a value for the ContainerGroupDefinitionProperties property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • containerGroupDefinitionProperties

        public final List<ContainerGroupDefinitionProperty> containerGroupDefinitionProperties()

        A collection of properties that describe each container group in the fleet. A container fleet is deployed with one or more ContainerGroupDefinition resources, which is where these properties are set.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasContainerGroupDefinitionProperties() method.

        Returns:
        A collection of properties that describe each container group in the fleet. A container fleet is deployed with one or more ContainerGroupDefinition resources, which is where these properties are set.
      • connectionPortRange

        public final ConnectionPortRange connectionPortRange()

        A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups. Amazon GameLift maps each connection port to a container port, which is assigned to a specific container process. A fleet's connection port range can't be changed, but you can control access to connection ports by updating a fleet's EC2InboundPermissions with UpdateFleetPortSettings.

        Returns:
        A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups. Amazon GameLift maps each connection port to a container port, which is assigned to a specific container process. A fleet's connection port range can't be changed, but you can control access to connection ports by updating a fleet's EC2InboundPermissions with UpdateFleetPortSettings.
      • containerGroupsPerInstance

        public final ContainerGroupsPerInstance containerGroupsPerInstance()

        Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.

        Returns:
        Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)